Skip to main content
Table of Contents

TTMSFNCDataGridCore.GetTotalFixedColumnWidth Method

Calculates the combined width of the fixed left columns, optionally including the freeze columns.

API unit family: TMSFNCDataGridCore Declaring type: TTMSFNCDataGridCore

Syntax

FMX.TMSFNCDataGridCore.hppPascalC++
function GetTotalFixedColumnWidth(AIncludeFreeze: Boolean = False): Double;
double __fastcall GetTotalFixedColumnWidth(bool AIncludeFreeze = false);

Remarks

Computed on each call. TotalFixedColumnWidth caches the value with freeze columns included.

Parameters

Name Description
AIncludeFreeze When True, the widths of the FreezeColumnCount freeze columns are added.

Returns

The width in pixels; hidden columns count as 0.