We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Sorting problem in GDBG

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,

1 Reply

AD Administrator 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.

Loader.
Live Chat Icon For mobile
Up arrow icon