Back to Devexpress

TcxGridTableView.OnGroupRowCollapsing Event

vcl-cxgridtableview-dot-tcxgridtableview-2f068f66.md

latest1.5 KB
Original Source

TcxGridTableView.OnGroupRowCollapsing Event

Allows you to prevent a group row from collapsing.

Declaration

delphi
property OnGroupRowCollapsing: TcxGridGroupRowChangingEvent read; write;

Remarks

The OnGroupRowCollapsing event fires when the group row starts collapsing either by end-user action or via code (see the row’s Expanded property and Collapse method).

Sender specifies the View to which the group row belongs.

AGroup specifies the group row that is about to be collapsed.

AAllow specifies whether AGroup will be collapsed. Set AAllow to False to prevent AGroup from collapsing.

See Also

TcxCustomGridRecord.Collapse

TcxCustomGridRecord.Expanded

TcxGridTableView.OnGroupRowCollapsed

TcxGridTableView.OnGroupRowExpanded

TcxGridTableView.OnGroupRowExpanding

TcxGridTableView Class

TcxGridTableView Members

cxGridTableView Unit