Library Vcl NextSuite 6 NextGrid6 Reference Classes TNxColumn6 SetSort

SetSort

Specifies Sorted, SortType and SortKind properties with one call without re-sorting after setting each property individually.

pas
procedure SetSort(ASorted: Boolean; ASortType: TNxSortType; ASortKind: TNxSortKind);

Parameters

ASorted
Boolean
Sets Sorted property of the column.

ASortType
TNxSortType
Sets SortType property of the column.

Example

pas
Prices.SetSort(True, stNumeric, skAscending);

Sign in