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

Clearing sort

Hi,

In GGC, one can click on multiple columns by holding down the ctrl key to sort on multiple columns.

Is there way to clear the sort and revert back to the original data order?

Thanks!


1 Reply

VK Vinoth Kumar K Syncfusion Team January 28, 2008 11:56 PM UTC

Hi Gz,

Thanks for using Syncfusion Products.

You can clear the sort and revert back to the original data order by using the following code. Please refer to the code given below:


this.gridGroupingControl1.TableDescriptor.SortedColumns.Clear();


Please let me know if you have any questions.

Regards,
Vinoth



Loader.
Live Chat Icon For mobile
Up arrow icon