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

disable sort for a column in Grid grouping control

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

3 Replies

JJ Jisha Joy Syncfusion Team September 14, 2010 12:10 PM UTC

Hi Pavan,


You could prevent sorting by disabling the AllowSort property.

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

Regards,
Jisha



ND Nagaraju Dhulipalla September 5, 2018 09:46 AM UTC

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

using the above line did not work for me


AA Arulraj A Syncfusion Team September 6, 2018 06:55 AM UTC

 
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 


Loader.
Live Chat Icon For mobile
Up arrow icon