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

# TGridColumn.PickList

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

## Declaration

Source position: grids.pas line 620

`published property TGridColumn.PickList : TStrings read GetPickList write SetPickList;`

## Description

PickList is a TStrings property which contains the list of values that can be selected for a cell in the grid column. It is used when the ButtonStyle property is set to cbsPicklist to enable a combo-box-style cell editor for the column. The values in PickList are assigned as the items in the drop-down list for the editor.

Use DropDownRows to control the number of lines displayed in the drop-down list when the cell editor is activated.

Remark: | Note that the Expanded property always contains True; write access is not enabled for the property.

## See also

TGridColumn.ButtonStyle |  | The style used for a button displayed for cells in the column.
TGridColumn.DropDownRows |  | The number of rows displayed in the drop-down list for a cell editor in the column.
TGridColumn.Expanded |  | Indicates if the drop-down list in the column cell editor is displayed in an expanded state.
TCustomGrid.EditorByStyle |  | Selects a cell Editor control with the specified style.
TPickListCellEditor |  | Implements a cell editor control which displays a pick list.