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

# TColumn.GetPickList

Gets the values in the pick list for the column.

## Declaration

Source position: dbgrids.pas line 279

`protected function TColumn.GetPickList: TStrings; override;`

## Function result

Values available for the lookup-style column.

## Description

GetPickList is an overridden TStrings function which gets the values in the pick list for the column. GetPickList calls the inherited method, and provides support for Lookup Fields in the column definition.

When Field is assigned and contains a Lookup Field (fkLookup in its FieldKind property), values from the LookupList or the LookupDataset are included in the return value. When LookupDataset is used, the result includes values from the LookupResultField for each of the rows in the dataset.

## See also

TGridColumn.PickList |  | The list with the values that can be selected for a cell in the column using a drop-down list.
TField