Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, July 6, 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: Formatting column in datagrid in design time...
Rafael S.
Posts: 66
 
Formatting column in datagrid in design time...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Sep 10 1:23 PM
Hello people!! Im new in SLX, and i want to know how can i change the format of the column in datagrid... I want to set "currency", but when i try something like

Set col = dgComission.Columns.Add(0)
col.FieldName = "COMISSION"
col.Caption = "Comission"
col.Width = 300
col.visible = false
col.Format = ftCurrency --> this dont works..
col.ReadOnly = True
col.DisableEditor = True


anyone can help me? thanks!
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Formatting column in datagrid in design time...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Sep 10 1:52 PM
The actual Property name is FormatType, and Currency would be 5

e.g.

col.FormatType = 5

[Reply][Quote]
Rafael S.
Posts: 66
 
Re: Formatting column in datagrid in design time...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Sep 10 1:58 PM
Thank you so much Raul!

[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Formatting column in datagrid in design time...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Sep 10 9:11 AM
col.Width = 300 is WAY TOO WIDE!
col.visible = false OK so you won't be able to see this

col.ReadOnly = True OK so you won't be able to see this why even set this?

col.DisableEditor = True OK so you won't be able to see this why even set this?
[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): 7/6/2025 1:27:18 PM