Skip to main content

TcxCustomGridTableView.OnEditValueChanged Event

Occurs when changing the edit value of the active cell editor.

Declaration

property OnEditValueChanged: TcxGridCustomTableItemEvent read; write;

Remarks

The OnEditValueChanged event occurs after changing the edit value of the active editor in the current View. The edit value indicates the data obtained from a dataset field and edited by the editor. See the editor’s EditValue property to access the edit value. The View’s Controller.EditingController.Edit property allows you to get a reference to the currently opened editor.

The edit value is changed when a user:

  • selects a value from the dropdown editor;

  • presses the Enter key within a cell if its text was modified;

  • changes an image in image editors;

  • changes the state of check box editors;

  • selects a specific radio button within a radio group.

The modified edit value is posted back to the corresponding dataset field in the following cases:

  • when setting focus to another record;

  • when posting data programmatically using the data controller’s or dataset’s Post method;

If the ImmediatePost property of the editor’s Properties object is set to True, the edit value will be posted immediately after it has been changed.

The OnEditValueChanged event is equivalent to the editor’s Properties.OnEditValueChanged event, i.e. it is generated every time the Properties.OnEditValueChanged event is fired.

See Also