Skip to main content
Table of Contents

TTMSFNCDataGridDataSortOptions Record

Sort settings applied to one column during a sort or grouping operation.

API unit family: TMSFNCDataGridData

Syntax

GeneratedPascalC++
TTMSFNCDataGridDataSortOptions = record
struct DECLSPEC_DRECORD TTMSFNCDataGridDataSortOptions

Remarks

Before each column is compared, the data object fills this record from TTMSFNCDataGridDataSortingOptions and the current format settings, then passes it to a sort-options callback or TTMSFNCDataGridData.OnGetSortOptions where it can be changed for that column and level only.

Fields and properties

Name Type Description
CaseSensitive Boolean True makes text comparison distinguish uppercase and lowercase letters.
Direction TTMSFNCDataGridSortDirection Whether values are ordered ascending or descending.
Format TTMSFNCDataGridSortFormat How cell values are interpreted while comparing, for example as text, numbers, or dates, or detected automatically.
FormatSettings TFormatSettings Locale settings used to parse values when Format requires conversion.