Table of Contents

TTMSFNCCustomDataGrid.AutoSizeRows Method

Resizes all rows to fit their tallest content.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

procedure AutoSizeRows(const AMode: TTMSFNCDataGridAutoSizeMode = gamAllCells; const APadding: Integer = 5);

Parameters

Name Description
AMode Determines which cells are measured.
APadding Extra padding in pixels added beyond each row's measured content height.