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

# TCustomGrid.ColumnClickSorts

Indicates if clicking a column header changes its sort order.

## Declaration

Source position: grids.pas line 1234

`protected property TCustomGrid.ColumnClickSorts : Boolean read FColumnClickSorts write SetColumnClickSorts default False;`

## Description

ColumnClickSorts is a Boolean used to indicate if clicking a column header changes its sort order. The default value for the property is False.

ColumnClickSorts is used in the HeaderClick method to determine if the value in the SortOrder is toggled for a click in the header cell for SortColumn.

## See also

TCustomGrid.HeaderClick |  | Performs actions needed when a mouse click occurs in a fixed header for a grid column or row.
TCustomGrid.SortColumn |  | Column number used to sort the rows in the grid.
TCustomGrid.SortOrder |  | Controls the order used for the sort column (ascending or descending).