Currently I am using Essential Grid 2.0. Is there a way in which a Databound grid can be sorted in particular order i.e. Ascending or descending. Using sortcolumn twice for descending order creates problem.
ADAdministrator Syncfusion Team October 29, 2004 01:09 AM
You can do the sort directly through the DataView associated with the CurrencyManager. Here is a snippet.
CurrencyManager cm = this.BindingContext[grid.DataSource, grid.DataMember] as CurrencyManager;
DataView dv = cm.List as DataView;
dv.Sort = "FirstName ASC" // or dv.Sort = "FirstName DESC"