The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi ,
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 05:09 AM UTC
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"