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. Image for the cookie policy date

GGC GridGroupDropArea events

Are there events raised when the user adds and removes a column from the GridGroupDropArea?

I would like to know what Group is being created or removed.

thanks,
Doug

2 Replies

AD Administrator Syncfusion Team December 20, 2006 04:42 AM UTC

Hi Doug,

Try handling the TableDescriptor.GroupedColumns.Changing event of the gridgroupingcontrol. This will help you.

private void GroupedColumns_Changing(object sender, Syncfusion.Collections.ListPropertyChangedEventArgs e)
{
SortColumnDescriptor scd = e.Item as SortColumnDescriptor;

if(e.Action == Syncfusion.Collections.ListPropertyChangedType.Insert)
Console.WriteLine("Column Added - {0}", scd.Name);

if(e.Action == Syncfusion.Collections.ListPropertyChangedType.Remove)
Console.WriteLine("Column Removed - {0}", scd.Name);
}

Best Regards,
Haneef


AD Administrator Syncfusion Team December 20, 2006 03:52 PM UTC

Excellent - thanks!

Doug

Loader.
Live Chat Icon For mobile
Up arrow icon