Skip to main content
Table of Contents

TTMSFNCDataGridHeaderVisualGrouping.SortOnClick Property

When True (default), clicking a chip toggles the sort direction of the grouped column.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGridHeaderVisualGrouping Type: Boolean

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
property SortOnClick: Boolean;
__property bool SortOnClick = {read=FSortOnClick, write=FSortOnClick, default=1};

Default: True

Remarks

Requires Options.Sorting.Enabled. Fires TTMSFNCCustomDataGrid.OnBeforeSortHeaderGroup, which can cancel the sort.