TTMSFNCDataGridDataSortingOptions Class
Sorting settings: whether header clicks sort, the header row that reacts to clicks, and the default direction, case sensitivity and value format.
API unit family: TMSFNCDataGridData
Inherits from: TPersistent
Syntax
TTMSFNCDataGridDataSortingOptions = class(TPersistent)
class PASCALIMPLEMENTATION TTMSFNCDataGridDataSortingOptions : public System::Classes::TPersistent
Remarks
Reached through Options.Sorting. CaseSensitive, Direction and Format also initialize the per-column TTMSFNCDataGridDataSortOptions of programmatic sorts and grouping, where a sort-options callback or event can override them.
Properties
| Name | Description |
|---|---|
| CaseSensitive | True makes text comparisons during sorting case-sensitive. Default is True. |
| Direction | Direction used by sort and grouping calls that do not specify one. Default is gsdAscending. |
| Enabled | True sorts the grid when a cell in the header row set by Row is clicked. Default is False. |
| Format | How values are interpreted while comparing. Default is gsfAutomatic, which detects Boolean, numeric, date/time or text values per pair. |
| Row | Zero-based fixed row whose cells react to clicks by sorting and show the sort indicator. Default is 0. |