Skip to main content
Table of Contents

TTMSFNCDataGridColumnsEditorOptions.Mode Property

Selects which columns are listed. Default is gcemVisibleOnly.

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

Syntax

FMX.TMSFNCDataGridColumnsEditor.hppPascalC++
property Mode: TTMSFNCDataGridColumnsEditorMode;
__property TTMSFNCDataGridColumnsEditorMode Mode = {read=FMode, write=SetMode, default=0};

Default: gcemVisibleOnly

Remarks

Despite its name, gcemVisibleOnly lists the columns that are currently hidden, without check boxes — the dialog then acts as a column chooser that the user drags columns into and out of.

gcemAll lists every column with a check box; checking or unchecking an item calls TTMSFNCDataGridCore.UnhideColumn or TTMSFNCDataGridCore.HideColumn on the renderer.