SortDirection

Class: TEgFireGridColumn

property SortDirection: TEgFireGridSortDirection;

Run time only, not stored. The sort direction the column’s title shows: fgsNone, fgsAscending or fgsDescending. A click on the title changes it (see Sortable) and fires OnSortChange; the grid never sorts the data itself.

It can be assigned in code to show the order the dataset already has, for example after opening it with an ORDER BY: set it on one column (and fgsNone on the others), then call NotifyChanged so the titles are laid out again. Assigning it does not fire OnSortChange.

See Also

(C) 2026 Easygate, Lda