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.

Stop sorting a column automatically when a cell value changes

Thread ID:

Created:

Updated:

Platform:

Replies:

73665 May 14,2008 05:55 AM May 15,2008 01:30 AM Windows Forms 1
loading
Tags: Grouping
Administrator [Syncfusion]
Asked On May 14, 2008 05:55 AM

Hi,

Can you please let me know if this is possible:

1) sort by a column
2) change a value of a cell in that column
3) rows all remain in the the same order (i.e previous sorting action no longer applies)

I figure i either want to remove the sorting (but this then reorders the rows according to the order in the datasource) at some point OR when i do step 1, i also want the datasource (a datatable) to mirror this sort order.

Thanks!


Jisha Joy [Syncfusion]
Replied On May 15, 2008 01:30 AM


Hi Mitual,

Thank you for posting query to us.

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

Please try this and let me know if this helps.

Regards,
Jisha



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.

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.

;