[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TCustomDrawGrid.SortColRow

Sorts the data in a column or row using the specified positions.

Declaration

Source position: grids.pas line 1458

public procedure TCustomDrawGrid.SortColRow(

  IsColumn: Boolean;

  index: Integer

); overload;

procedure TCustomDrawGrid.SortColRow(

  IsColumn: Boolean;

  Index: Integer;

  FromIndex: Integer;

  ToIndex: Integer

); overload;

Arguments

IsColumn

  

True when values in a column are sorted, False to sort values in a row.

index

  

Column or row number sorted in the method.

Arguments

IsColumn

  

True when values in a column are sorted, False to sort values in a row.

Index

  

Column or row number sorted in the method.

FromIndex

  

Starting position sorted in the column or row.

ToIndex

  

Ending position sorted in the column or row.