[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Definitions for the columns in the grid.
Source position: grids.pas line 1208
protected property TCustomGrid.Columns : TGridColumns |
Columns is a TGridColumns used to represent column definitions for the grid control. Columns contains the TGridColumn instances which define the attributes for the column such as its Font, Color, Alignment, Layout, Editor style, auto-sizing priority, et. al. Properties and methods in Columns can be used at run-time to access and maintain the column definitions for the grid.
See TGridColumn for more information about the items stored in the collection.
Columns should not be confused with the COLUMNS construct frequently used in SQL programming, which refer to Fields of data. The contents of Fields can be displayed as Columns in a Grid, but they must be seen as separate and distinct. It is irrelevant to refer to the color, font or width of a data field from a database, but these are all very relevant in specifying the appearance of a column in a grid.
|
Collection used to store column definitions for a grid control. |
|
|
Implements a column definition used for tabular data in TCustomGrid. |