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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Sorting problem in GDBG

Thread ID:

Created:

Updated:

Platform:

Replies:

3934 Apr 19,2003 04:53 AM UTC Apr 19,2003 01:18 PM UTC WinForms 1
loading
Tags: GridControl
Ramu
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.

CONFIRMATION

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.

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

;