Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomDataController.OnBeforeInsert Event

In This Article

Occurs before inserting a new record if working in unbound or provider mode.

#Declaration

Delphi
property OnBeforeInsert: TcxDataControllerNotifyEvent read; write;

#Remarks

Write an OnBeforeInsert event handler to perform specific actions before inserting a record. The Insert and Append methods generate an OnBeforeInsert event before inserting or appending a new record.

Handle the OnAfterInsert event to respond after inserting a record.

See Also