Skip to main content
Table of Contents

TTMSFNCDataGridMouseOptions.DirectEdit Property

When True, clicking a cell immediately enters edit mode. Default is False.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridMouseOptions Type: Boolean

Syntax

FMX.TMSFNCDataGridRenderer.hppPascalC++
property DirectEdit: Boolean;
__property bool DirectEdit = {read=FDirectEdit, write=FDirectEdit, default=0};

Default: false

Remarks

When False, the first click focuses the cell and a further click on the already focused cell opens the editor. In both cases editing requires TTMSFNCDataGridEditingOptions.Enabled and is subject to OnCanEditCell.