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

Custom sorting on GridGroupingControl (VB)

I'm using custom paging and need to implement sorting at the Stored Procedure level, but I still want to use the header column clicks to manage sorting. I've added a handler for the GridGroupingControl1.TableDescriptor.SortedColumns.Changing and GridGroupingControl1.TableDescriptor.SortedColumns.Changed events, but when I try to cancel the sort I get a JavaScript error. Has anyone had luck with this?

1 Reply

VA Valli Syncfusion Team April 3, 2007 05:53 AM UTC

Hi Sean,

Sorry for the delay in getting back to you.

The below code snippet helps you to cancel sorting.

GridGroupingControl1.TableDescriptor.SortedColumns.Clear()

Please let us know if you have any other concerns.

Regards,
Valli

Loader.
Live Chat Icon For mobile
Up arrow icon