Skip to main content
Table of Contents

TTMSFNCDataGridColumnsEditorOptions.EnableDragDrop Property

When True (default), columns can be dragged between the list and the grid.

API unit family: TMSFNCDataGridColumnsEditor Declaring type: TTMSFNCDataGridColumnsEditorOptions Type: Boolean

Syntax

FMX.TMSFNCDataGridColumnsEditor.hppPascalC++
property EnableDragDrop: Boolean;
__property bool EnableDragDrop = {read=FEnableDragDrop, write=SetEnableDragDrop, default=1};

Default: True

Remarks

Dragging a listed column onto the grid inserts it (shows it) at the drop position; dragging a column header from the grid onto the list hides that column. The grid side requires column dragging to be enabled in the grid's mouse options. Set to False to disable dragging out of the list.