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

Removing sort triangle icon from GroupDropArea columns buttons.

Thread ID:





58193 Mar 20,2007 03:53 PM UTC Mar 20,2007 06:30 PM UTC WinForms 2
Tags: GridControl
Brian Schlatter
Asked On March 20, 2007 03:53 PM UTC


I have a GridGroupingControl where I am allowing users to drag drop columns to the GroupDropArea. When these column get place in the GroupDropArea they get represented as what look like a button. This button displays the column name as well as a sort triangle icon. Is it at all possible to hide or remove the sort triangle icon in any way?


Syncfusion Version:

Administrator [Syncfusion]
Replied On March 20, 2007 04:48 PM UTC

Hi Brian,

One way you can do this by handling the PrepareViewStyleInfo event of the GridGroupDropArea and set the e.Style.CellType to "Header" for the ColumnHeaderCell. Here is a sample code snippet to show this.

this.gridGroupingControl1.GridGroupDropArea.PrepareViewStyleInfo += new GridPrepareViewStyleInfoEventHandler(GridGroupDropArea_PrepareViewStyleInfo);

void GridGroupDropArea_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e)
if (e.Style.CellType == "ColumnHeaderCell")
e.Style.CellType = "Header";

Best regards,

Brian Schlatter
Replied On March 20, 2007 06:30 PM UTC

Thanks Haneef, that did it.


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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