Skip to main content
Table of Contents

TTMSFNCDataGridCore.ColumnViewMode Property

Determines whether the horizontal content area ends after the last column (gcvmTotalColumns, default) or spans the full control width (gcvmControl).

API unit family: TMSFNCDataGridCore Declaring type: TTMSFNCDataGridCore Type: TTMSFNCDataGridColumnViewMode

Syntax

FMX.TMSFNCDataGridCore.hppPascalC++
property ColumnViewMode: TTMSFNCDataGridColumnViewMode;
__property TTMSFNCDataGridColumnViewMode ColumnViewMode = {read=FColumnViewMode, write=SetColumnViewMode, default=0};

Default: gcvmTotalColumns

Remarks

Only matters when the columns do not fill the control: it decides whether fixed right columns follow the data columns or sit at the right edge of the control. It does not change ColumnCount. Changing it recalculates the layout.