Class: TEgDBGridEx
property SortSelectedField: string;
Field name of the column currently marked as sorted (shown with the
full-size sort arrow in its title). Assigning a value validates it
against SortFields
and the current SortDirection:
if the field cannot be sorted in the current direction but can in the
other one, SortDirection is switched automatically; if it
cannot be sorted in either direction, the assignment has no effect.
Assigning an invalid field name (one that is not a valid identifier)
raises an exception. Updated automatically when the user clicks a
sortable column’s title.