TTMSFNCCustomDataGrid.CancelEditing Method
Closes the active in-place editor without writing its value back to the cell, and returns focus to the grid.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCCustomDataGrid
Syntax
function CancelEditing: Boolean;
bool __fastcall CancelEditing();
Returns
True when the editor was closed or no editor was active; False when closing was refused (for example by an OnBeforeCloseInplaceEditor handler).