Sign in Join
FPDoc Onlineexperiment

TCustomGrid.SortColumn property

Member of TCustomGridpublicIn unit Grids

Column number used to sort the rows in the grid.

Declaration

pascal
property SortColumn: Integer read FSortColumn;

Description

SortColumn is a read-only Integer that contains the column position used to sort content in the rows for the grid. SortColumn is used in the HeaderClick method to determine if the click occurred on the fixed header cell represented by the property. It is also used in the DrawColumnTitleImage method if the header cell needs to render an image representing the current sort order.

See also

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