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

# TGridColumns.Grid

The Grid which owns the collection and columns.

## Declaration

Source position: grids.pas line 669

`public property TGridColumns.Grid : TCustomGrid read FGrid;`

## Description

Grid is a read-only TCustomGrid which provides access to the grid which owns the column collection. The value in Grid is set in the constructor to an argument passed to the method, and used as the value for the Owner property.

Grid can be used to access the properties, methods, and events in the grid class instance. It is used in the implementation of methods in the collection, such as InsertColumn and Update.

## See also

TCustomGrid.CreateColumns |  | Allocates and configures resources for the Columns collection.
TCustomGrid.ColumnsChanged |  | Performs actions needed when one or more columns in the grid are changed.
TGridColumns.InsertColumn |  | Inserts a column at the specified index position.
TCollection.Owner