Sorts a range of rows of a 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
Min
Type: Integer
Minimum row to sort
Max
Type: Integer
Maximum row to sort
IsNumeric
Type: Boolean
Determines if the column text should be considered numeric values
Ascending
Type: Boolean
Sort order
Reference |