Category / Section
What are the events are fired when the bound data is externally modified in WinForms GridGroupingControl?
1 min read
GridGrouping event
In GridGroupingControl, the following events will be triggered when the bound data is externally modified.
SourceListRecordChanged event:
Occurs when a record in the underlying data source is added, removed, or changed and after the Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl.Table was updated with that change.
C#
this.gridGroupingControl1.SourceListRecordChanged += newRecordChangedEventHandler(gridGroupingControl1_SourceListRecordChanged);
VB
Me.gridGroupingControl1.SourceListRecordChanged += newRecordChangedEventHandler(gridGroupingControl1_SourceListRecordChanged)
SourceListRecordChanging event:
Occurs when a record in the underlying data source is added, removed, or changed and before the Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl.Table was updated with that change.
C#
this.gridGroupingControl1.SourceListRecordChanging += new RecordChangedEventHandler(gridGroupingControl1_SourceListRecordChanging);
VB
AddHandler gridGroupingControl1.SourceListRecordChanging, AddressOf gridGroupingControl1_SourceListRecordChanging
TableSourceListChanged event:
Occurs after the data source was replaced.
C#
this.gridGroupingControl1.TableSourceListChanged += new TableEventHandler(gridGroupingControl1_TableSourceListChanged);
VB
AddHandler gridGroupingControl1.TableSourceListChanged, AddressOf gridGroupingControl1_TableSourceListChanged