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

How can I stop the grid from actively sorting without reverting back to physical row order?

Thread ID:

Created:

Updated:

Platform:

Replies:

68180 Sep 11,2007 01:28 PM UTC Sep 11,2007 06:02 PM UTC Windows Forms 1
loading
Tags: Grouping
Jonathan Byrne
Asked On September 11, 2007 01:28 PM UTC

I need to sort a grid and then disable active resorting. For example assume the physical order of the list is this:

Name
------
Eric
Brian
Fred

After adding the name to the sorted column collection, it would appear as:

Name
------
Brian
Eric
Fred

What I need to do is preserve that row order but disable further sorting. For example, if "Brian" was changed to "Greg", the order would be:

Name
------
Greg
Eric
Fred

I've spent a while trying to figure out how to do this and I'm stumped. Any ideas?

J.Nagarajan [Syncfusion]
Replied On September 11, 2007 06:02 PM UTC

Hi Jonathan,

The attached sample implements the ListWrapper class to avoid the 'jumps' while the user changes the value in a sorted column. It also support the multicolumn sorting in a grid. Please try this and let me know if this helps.

Here is a sample.
http://www.syncfusion.com/Support/user/uploads/WrapperClassSortSample_46fcd2f1.zip

Best Regards,
Nagaraj

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

;