FMX.Grid.TGridModel.Options
Delphi
property Options: TGridOptions read FOptions write SetOptions stored IsOptionsStored;
C++
__property TGridOptions Options = {read=FOptions, write=SetOptions, stored=IsOptionsStored, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Grid.pas FMX.Grid.hpp |
FMX.Grid | TGridModel |
Description
Options of the grid.
Grid options are an instance of TGridOptions that contains any combination 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 |
CancelEditingByDefault |
If it is |
AutoDisplacement |
Makes it easier to edit grid cells on a mobile device with a virtual keyboard. If you are editing a cell that is hidden by the virtual keyboard, it produces an automatic displacement of the grid. Default is |