The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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.
LSLingaraj 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 } }