What are the Events Fired when Records are Collapsing or Collapsed
3 Jan 20201 minute to read
When the records are collapsing or collapsed, the following events are fired.
//The RecordCollapsed event gets fired after the record is collapsed.
private void gridGroupingControl1_RecordCollapsed(object sender, Syncfusion.Grouping.RecordEventArgs e)
{
Console.WriteLine("collapsed"+ e.Record.Info);
}
//The RecordCollapsing event gets fired when the record is collapsing.
private void gridGroupingControl1_RecordCollapsing(object sender, Syncfusion.Grouping.RecordEventArgs e)
{
Console.WriteLine("collapsing"+ e.Record.Info);
}
'The RecordCollapsed event gets fired after the record is collapsed.
Private Sub gridGroupingControl1_RecordCollapsed(ByVal sender As Object, ByVal e As Syncfusion.Grouping.RecordEventArgs) Handles gridGroupingControl1.RecordCollapsed
Console.WriteLine("Collapsed" + e.Record.Info)
End Sub
'The RecordCollapsing event gets fired when the record is collapsing.
Private Sub gridGroupingControl1_RecordCollapsing(ByVal sender As Object, ByVal e As Syncfusion.Grouping.RecordEventArgs) Handles gridGroupingControl1.RecordCollapsing
Console.WriteLine("Collapsing" + e.Record.Info)
End Sub
NOTE
This applies only when nested tables are used.