TcxCustomDataController.OnDetailExpanding Event
Occurs when the details of a particular master record are about to be expanded.
Declaration
property OnDetailExpanding: TcxDataDetailExpandingEvent read; write;
Remarks
Handle the OnDetailExpanding event to control whether the details of a particular master record can be expanded.
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 expanded.
Set the AAllow parameter to False to prevent details of the master record from being expanded. Otherwise, the details will be expanded (which is done by default).
Note
The OnDetailExpanded event is not fired when the AAllow parameter is set to False within the OnDetailExpanding event handler.
See Also