TTMSFNCDataGridSortFormat Enumeration
Data-type hint used when comparing cell values during a sort operation.
API unit family: TMSFNCDataGridCore
Remarks
Use gsfAutomatic to let the grid detect the format from cell content. Use gsfCustom and handle OnGetSortOptions to supply your own comparer.
Members
| Name | Description |
|---|---|
gsfAutomatic |
The grid detects the value type at runtime and chooses the appropriate comparer automatically. |
gsfAlphabetic |
Compares values as plain text strings using locale-aware alphabetic ordering. |
gsfNumeric |
Compares values as floating-point numbers. |
gsfDateTime |
Compares values as date/time values. |
gsfBoolean |
Compares values as Boolean: False sorts before True in ascending order. |
gsfCustom |
Delegates comparison to the OnGetSortOptions or OnCustomCompare callback. |