Occurs before a group of rows is collapsed.
public event RowAllowEventHandler GroupCollapsing
The GroupCollapsing event's data class is RowAllowEventArgs. The following properties provide information specific to this event:
|Allow||Gets or sets whether to allow or prohibit an operation with the row.|
|RowHandle||Gets the grid’s row handle. Inherited from RowEventArgs.|
The GroupCollapsing event is raised before a group of data rows is collapsed from UI or code (CollapseGroupRow). You can handle this event and set its parameter’s Allow property to false to prevent a group from being collapsed.
When you call the CollapseAllGroups method, the GroupCollapsing event is raised for each group.
After the group row has been collapsed, the GroupCollapsed event is raised.