Sign in Join
FPDoc Onlineexperiment

TCustomGrid.Sort procedure

Member of TCustomGridprotectedIn unit Grids

Sorts rows or columns in the grid.

Declaration

pascal
procedure Sort(ColSorting: Boolean; index: Integer; IndxFrom: Integer; 
 IndxTo: Integer); virtual

Arguments

ColSortingTrue if a column is affected in the method. False if a row is affected.
index

Column or row number for the values sorted in the method.

IndxFrom

Position for the first value sorted in the method.

IndxTo

Position for the last value sorted in the method.

Description

Sort is a method used to sort items in the grid. When ColSorting is True, it sorts the items in a column. Otherwise, it sorts values in a row. The three index values specify the items to be sorted.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.