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.

Eventhandling when dropping a column into GridGroupDropArea

Thread ID:





82073 May 29,2009 10:44 AM Jun 3,2009 01:56 AM Windows Forms 1
Tags: GridControl
Gerald Ahn
Asked On May 29, 2009 10:44 AM


I would like to handle an event when I drop a column from a table in GridGroupingControl into GridGroupDropArea.

Basically, I will be highlighting some cells in the tables when the data is initially loading, and when a table is group by dropping a column, I want to handle the event and clean up the highlighting in the table.

Could you let me know if how I can do this?


Lingaraj S [Syncfusion]
Replied On June 3, 2009 01:56 AM


Thank you for your interest in Syncfusion product.

The GridGroupingControl maintain the GroupedColumns in TableDescriptor collection. The GroupedColumns changed event is fired, when the GroupedColumn has been changed in GridGroupingControl. The Action property is Insert in GroupedColumns.Changed event, when the Table column has been moved to GroupDrop area.

Please refer the code below:

this.gridGroupingControl1.TableDescriptor.GroupedColumns.Changed += new Syncfusion.Collections.ListPropertyChangedEventHandler(GroupedColumns_Changed);
void GroupedColumns_Changed(object sender, Syncfusion.Collections.ListPropertyChangedEventArgs e)
if (e.Action == Syncfusion.Collections.ListPropertyChangedType.Insert)
// Insert your code here

Let me know if you have any queries.

Lingaraj S.


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.