Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
New Member
Posts: 2
Registered: ‎08-24-2011

Data Grid Sort Order

Hi,

 

I'm new to SalesLogix development and have been asked to help make some modifications to my company's site.  I need to find out how to define/change the sort order for the data displayed in a data grid. 

 

Any assistance would be a big help and greatly appreciated.

 

Thanks

Nickel Contributor
Posts: 51
Registered: ‎07-31-2008

Re: Data Grid Sort Order

Easiest way to do this is to add the following line to a C# Snippet Action (you can also do this with a Code Snippet, but you may have to get a reference to the native datagrid control)....

 

this.QFDataGrid.Sort("YourPropertyName", SortDirection.Descending);

 

Jeremy Couzens

CRMnow

Highlighted
New Member
Posts: 2
Registered: ‎08-24-2011

Re: Data Grid Sort Order

Thanks, I will give that a try.