LS
Lingaraj S
Syncfusion Team
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.