Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Thursday, June 19, 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: Grid Column Building: SORT Command?
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Grid Column Building: SORT Command?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Jul 07 8:40 AM
Building a Grid on the fly, column by column....

what's the command to Sort by Column(1)?

WITH grdA
>>>

END WITH

Thanks!
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Grid Column Building: SORT Command?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Jul 07 11:39 AM
The DataGridColumn object has a Sorted property where you can set a value from the TxDataGridColumnSort enum.

The possible values are:
csNone = 0
csDown = 1
csUp = 2

So to set a column at index of 1 to sort ascending, you'd do this:

datagrid1.Columns.Item(1).Sorted = 1


Make sense?
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Grid Column Building: SORT Command?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Jul 07 11:42 AM
Yes it does, thank you. Again, have done this before, just couldn't find an example of it! Time to get DevLogix III???!!
[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): 6/19/2025 4:58:16 PM