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
close icon

GGC Engine.GroupAdded not firing ..

Why does Engine.GroupAdded event not fire when I drag a column to the grouping drop area?

Your example "Grouping Trace Events" is a good example, which confirms this, too.

When I add a new group, it fires the PropertyChanged event.

GroupExpanding and GroupCollapsing seem to work, though.

1 Reply

JS Jeba S Syncfusion Team October 2, 2007 07:05 AM UTC

Hi DR,

Thank you for posting query to us.

GroupedColumns.Changing event fires when a group is added/removed from the GroupDropArea. You can make use of this event.


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);
}


Kindly let us know if you need any further assistance.

Thank you for using Syncfusion Products.

Best Regards,
Jeba.

Loader.
Live Chat Icon For mobile
Up arrow icon