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.

Disable sorting on GGC

Thread ID:

Created:

Updated:

Platform:

Replies:

97569 Dec 10,2010 06:20 AM Dec 13,2010 05:24 AM Windows Forms 1
loading
Tags: GridControl
deepakvellore
Asked On December 10, 2010 06:20 AM

Hi

Please let me know, as to how i can disable sorting on a GridGroupingControl.


Thanks in advance

Regards

Deepak


Yuvaraja V [Syncfusion]
Replied On December 13, 2010 05:24 AM

Hi Deepak,

Thanks for using Syncfusion Products.

In GridGroupingControl, the header sorting can be cancelled by handling the "TableControlQueryAllowSortColumn" event with the following code.

e.AllowSort = false;


Here is the sample for your reference.

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=HeaderSorting-649799832.zip

Please let us know if you have any other concerns.

Regards,
Yuvaraja V.


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.

;