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 sort for a column in Grid grouping control

Thread ID:

Created:

Updated:

Platform:

Replies:

96424 Sep 13,2010 10:06 AM Sep 6,2018 02:55 AM Windows Forms 3
loading
Tags: Grouping
Sai Pavan Kumar
Asked On September 13, 2010 10:06 AM

Hi

I want to disable sorting for all my columns in a GRID GROUPING CONTROL.

How can i achieve it ?
Find attached image for clear understanding


Thanks and regards
Pavan



doubt_66aa3a4f.zip

Jisha Joy [Syncfusion]
Replied On September 14, 2010 08:10 AM

Hi Pavan,


You could prevent sorting by disabling the AllowSort property.

this.gridGroupingControl1.TableDescriptor.Columns[0].AllowSort = false;

Regards,
Jisha


Nagaraju Dhulipalla
Replied On September 5, 2018 05:46 AM

this.gridGroupingControl1.TableDescriptor.Columns[0].AllowSort = false;

using the above line did not work for me

Arulraj A [Syncfusion]
Replied On September 6, 2018 02:55 AM

 
Thanks for using Syncfusion products. 
 
We checked AllowSort property and it is working fine as expected, please check in the following sample link. Ensure that you have not handled AllowSort property in TableControlQueryAllowSortColumn event. Also ensure that you have not added the column in the SortedColumns property. 
 
 
Please let us know if this help and revert us if you need any further assistance on this. 
 
Regards, 
Arulraj A 


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.

;