Table of Contents

TTMSFNCDataGridRenderer.CancelEditing Method

Cancels in-place editing, discarding any changes. Returns True if editing was active and has been cancelled.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

function CancelEditing(AFocusGrid: Boolean = True): Boolean;

Parameters

Name Description
AFocusGrid When True, returns focus to the grid after the editor is closed.

Returns

True when editing is cancelled or no editor is active; False if the editor refuses to close.