Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Thursday, August 28, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Setting "texttype" property of picklist column of datagrid to diaply Code:Item in the grid.
AD
Posts: 10
 
Setting "texttype" property of picklist column of datagrid to diaply Code:Item in the grid.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Apr 09 5:13 AM
Hi Every one.

i have created a data grid with picklist column which displays Items of the picklist. but i want to display Code:Item in this picklist column of grid.

Is there any other way to do this?

Amol.
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Setting "texttype" property of picklist column of datagrid to diaply Code:Item in the grid.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Apr 09 11:24 AM
Use the Columns property to edit the grid. Change the column type to picklist. Then, on the bottom left select the drop-down ttCodeItem.
[Reply][Quote]
AD
Posts: 10
 
Re: Setting "texttype" property of picklist column of datagrid to diaply Code:Item in the grid.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Apr 09 12:11 AM
Hi Mike

Thank for your reply.

but the grid is manually coded and columns are created at the run time.

please check the code spinet below.

' Location
Set col = grdBatchAttendance.Columns.Add(15)
col.PicklistName = "DED"
col.Caption = Application.Translator.Localize("Location")
col.FieldName = "Location"
col.Width = 70


[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Setting "texttype" property of picklist column of datagrid to diaply Code:Item in the grid.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Apr 09 3:55 AM
OK, you should have access to : col.TextType = ttCodeItem but, the last time I heard, this didn't work - let me know if it does ?!
[Reply][Quote]
AD
Posts: 10
 
Re: Setting "texttype" property of picklist column of datagrid to diaply Code:Item in the grid.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Apr 09 4:25 AM
Hi Mike,

Thanks for your reply,

I have tried out the same thing before, it didn't give any error but it didn't work as well.

Amol.
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Setting "texttype" property of picklist column of datagrid to diaply Code:Item in the grid.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Apr 09 1:54 PM
Correct, MANY grid properties aren't available at runtime vs design time....
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 8/28/2025 4:11:47 PM