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.
I need to disable the DataTables.DefaultView.ListChanged event when the grid is sorted, and enable it when the sort is complete. Checking for the "Reset" for ListChangeType in the handler function won't help because the Filter results in the same "Reset" value, so I have no way to tell if the person is sorting or filtering.
ADAdministrator Syncfusion Team September 12, 2003 08:34 PM UTC
You can derive the GridDataBoundGrid, and override the SortColumns method. In your override, you could raise a presort event, call the baseclass, and then raise a postsort event.
If you do not want to add your own events, you could add a public field or property bool inSort, and set this property before the call to the baseclass, and reset it after the call to the baseclass. You could then test this flag to know when you are sorting.