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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

disable sort for a column in Grid grouping control

Thread ID:

Created:

Updated:

Platform:

Replies:

96424 Sep 13,2010 02:06 PM UTC Sep 6,2018 06:55 AM UTC WinForms 3
loading
Tags: Grouping
Sai Pavan Kumar
Asked On September 13, 2010 02:06 PM UTC

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 12:10 PM UTC

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 09:46 AM UTC

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

using the above line did not work for me

Arulraj A [Syncfusion]
Replied On 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 


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.

Warning Icon 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.Close Icon

;