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.

Grouped Cols In GridGroupDropArea

Thread ID:





75355 Jul 22,2008 05:19 PM Jul 23,2008 09:55 AM Windows Forms 1
Tags: Grouping
Abhishek Shivalingaiah
Asked On July 22, 2008 05:19 PM

Syncfusion 6.1
VS 2005

I have dragged a few cols into the group drop area, resulting in the grid being grouped by those cols. When I click on the buttons in the grop drop area the groups get sorted asc/desc.
I would like to add some custom processing when the user clicks the col button in the group drop area.
How do I capture this click event?


Sri Rajan [Syncfusion]
Replied On July 23, 2008 09:55 AM

Hi Shek,

Thank you for your interest in Syncfusion products.

Here is the code to handle user clicks on column button in the group drop area.

this.gridGroupingControl1.GridGroupDropArea.CellClick += new GridCellClickEventHandler(GridGroupDropArea_CellClick);
void GridGroupDropArea_CellClick(object sender, GridCellClickEventArgs e)
if (this.gridGroupingControl1.GridGroupDropArea.Model[e.RowIndex, e.ColIndex].CellType == "ColumnHeaderCell")
Console.WriteLine("Button Clicked");

Please try this and let me know if this helps.

Best Regards,


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.