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

# TGridOptions2

Set type used to store enabled grid options from the TGridOption2 enumeration.

## Declaration

Source position: grids.pas line 129

`type TGridOptions2 = set of (`
`goScrollToLastCol,` |  | Allows scrolling to last column (so that last column can be leftcol).
`goScrollToLastRow,` |  | Allows scrolling to last row (so the last row can also be TopRow).
`goEditorParentColor,` |  | Sets the color in a cell editor to the color for the parent control.
`goEditorParentFont,` |  | Sets the font in a cell editor to the font for the parent control.
`goCopyWithoutTrailingLinebreak` |  | Copies cell(s) to the clipboard without trailing linebreak sequence.
`);`

## Description

TGridOptions2 is the type used to implement the Options2 property in TCustomGrid. The features represented by the values in the set are enabled in a grid control when present.

See TGridOption2 for the available enumeration values and their meanings.

## See also

TCustomGrid.Options2 |  | Contains additional options for scrolling and editor behavior enabled in the grid control.
TGridOption2 |  | Represents grid options introduced in Version 2 (or higher) of grid controls.