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

# TCustomGrid.OnSaveColumn

Event handler signalled when an entry in Columns is saved to a configuration file using the SaveContent method.

## Declaration

Source position: grids.pas line 1326

`protected property TCustomGrid.OnSaveColumn : TSaveColumnEvent read FOnSaveColumn write FOnSaveColumn;`

## Description

The APath argument contains the XPath-like notation, including the column identifier, used to access the column definition. For example:

    'grid/design/columns/column1'

## See also

TCustomGrid.SaveContent |  | Saves design-time configuration, column and row settings, and data to the specified XML configuration file.
TCustomGrid.SaveToFile |  | Saves grid information to a file with the specified name.
TCustomGrid.SaveToStream |  | Saves grid information to the specified stream.
TCustomGrid.DoSaveColumn |  | Signals the OnSaveColumn event handler for the grid control (when assigned).
TSaveColumnEvent |  | Specifies an event handler used to load/save the configuration for a grid column.