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

Stop sorting a column automatically when a cell value changes

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!


1 Reply

JJ Jisha Joy Syncfusion Team May 15, 2008 05:30 AM UTC


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



Loader.
Live Chat Icon For mobile
Up arrow icon