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,
I am using GDBG. When the user clicks on the header column, the grid sorts fine. after this action, when the user adds the new row by providing all the column information, and moving to next row, the sorting occurs dynamically and the grid is refreshed. how to aviod this auto sorting?
Thanks in advance.
Best Regards, Ram
Best Regards,
ADAdministrator Syncfusion Team April 19, 2003 01:18 PM UTC
I do not know of a simple way to do this.
The GridDataBoundGrid just displays the data as provided by the datasource. So, if you want the new row to be on bottom then you would have to provide a DataSource that has the row on bottom.
When you use the default sorting, the grid just displays the values in the sorted datatable.defaultview. When a new row is added to this defaultview, it is placed in its sorted position.
So, to avoid this auto sorting of the new rows, you would have to implement your own sorting that does not rely on the DataView Sort.