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

TcxCustomGridTableOptionsData.CancelOnExit Property

Determines whether empty records are posted into a data set when the grid View loses focus.

#Declaration

Delphi
property CancelOnExit: Boolean read; write; default True;

#Property Value

Type Default
Boolean True

#Remarks

Use this property to determine whether empty records are posted into a data set when the grid View loses focus. This situation occurs when a new record is inserted into a grid and focus is removed from the grid without entering any data into the record’s fields. In this case, the empty record is not posted if the CancelOnExit property’s value is True.

The default value of the CancelOnExit property is True.

See Also