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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Sorting problem in GDBG

Thread ID:





3934 Apr 19,2003 04:53 AM UTC Apr 19,2003 01:18 PM UTC WinForms 1
Tags: GridControl
Asked On April 19, 2003 04:53 AM UTC

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,

Administrator [Syncfusion]
Replied On 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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon