FMX.Grid.TGridOption
Delphi
TGridOption = (AlternatingRowBackground, Editing, AlwaysShowEditor, ColumnResize, ColumnMove, ColLines, RowLines, RowSelect,
AlwaysShowSelection, Tabs, Header, HeaderClick);
C++
enum class DECLSPEC_DENUM TGridOption : unsigned char { AlternatingRowBackground, Editing, AlwaysShowEditor, ColumnResize, ColumnMove, ColLines, RowLines, RowSelect, AlwaysShowSelection, Tabs, Header, HeaderClick };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | FMX.Grid.pas FMX.Grid.hpp |
FMX.Grid | FMX.Grid |
Description
TGridOption defines how the TGrid component looks like and how it behaves.
TGridOptions is a set of TGridOption values.
TGridOption values are listed in the following table:
Value | Description |
---|---|
AlternatingRowBackground |
Specifies whether the alternate rows of the TGrid control have a background color. Default is |
Editing |
Specifies whether you can edit the contents of the TGrid control. Default is |
AlwaysShowEditor |
Specifies whether a cell of the TGrid control enters the edit mode immediately when selected. Default is |
ColumnResize |
Specifies whether you can resize the columns of the TGrid control. Default is |
ColumnMove |
Specifies whether you can change the order of the columns of the TGrid control. Default is |
ColLines |
Specifies whether the column separator lines of the TGrid control are visible. Default is |
RowLines |
Specifies whether the row separator lines of the TGrid control are visible. Default is |
RowSelect |
Specifies whether a click on a row in the TGrid control selects that row. Default is
|
AlwaysShowSelection |
Specifies if an update of the content of the cell also immediately selects that cell. Default is |
Tabs |
Specifies whether you can use the Tab key to cycle through the fields of the TGrid control. Default is |
Header |
Specifies whether the header row of the TGrid control is displayed. Default is |
HeaderClick |
Does not affect anything. Default is |