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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Eventhandling when dropping a column into GridGroupDropArea

Thread ID:

Created:

Updated:

Platform:

Replies:

82073 May 29,2009 02:44 PM UTC Jun 3,2009 05:56 AM UTC WinForms 1
loading
Tags: GridControl
Gerald Ahn
Asked On May 29, 2009 02:44 PM UTC

Hi,

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?

Thanks,
Gerald

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

HiGerald,

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.

Regards,
Lingaraj S.

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

;