TcxCustomDataController.OnDetailCollapsing Event
In This Article
Occurs when the details of a particular master record are about to be collapsed.
#Declaration
Delphi
property OnDetailCollapsing: TcxDataDetailExpandingEvent read; write;
#Remarks
Handle the OnDetailCollapsing event to control whether the details of a particular master record can be collapsed.
The ADataController parameter specifies the data controller which fires the event.
The ARecordIndex parameter specifies the index of the master record whose details are about to be collapsed.
Set the AAllow parameter to False to prevent the details of the master record from being collapsed. Otherwise, the details will be collapsed (which is done by default).
Note
The On
See Also