Skip to main content

TcxCustomGridTableOptionsData.CancelOnExit Property

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

Declaration

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