Sorts an entire TStringGrid based on the text in the SortCol column.
Namespace: RSVclHelperFunctions
Delphi |
procedure SortGrid( const Grid: TStringGrid; const SortCol: Integer; |
Parameters
Grid
Type: TStringGrid
String Grid to sort
SortCol
Type: Integer
Column to sort by
IgnoreFixedRows
Type: Boolean
Sort the fixed rows as well?
IsNumeric
Type: Boolean
Determines if the column text should be considered numeric values
Ascending
Type: Boolean
Sort order
Reference |