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

# TCustomGrid.EditorMode

True when the Editor is ready to modify the value for the current cell.

## Declaration

Source position: grids.pas line 1245

`protected property TCustomGrid.EditorMode : Boolean read FEditorMode write EditorSetMode;`

## Description

EditorMode is a Boolean property which indicates whether the cell Editor has been enabled for the grid control. Set EditorMode to True to display the cell Editor for the control. Set it to False to hide the cell Editor.

The value in EditorMode is updated when handling key press and mouse click events, scrolling the visible area for the control, or changing the configuration settings for the grid.

## See also

TCustomGrid.EditorMode |  | True when the Editor is ready to modify the value for the current cell.
TCustomGrid.EditorShow |  | Displays the Editor for the selected cell.
TCustomGrid.EditorHide |  | Hides a visible cell editor in the grid control.
TCustomGrid.ColCount |  | Number of columns in the grid.
TCustomGrid.RowCount |  | Number of rows in the grid.
TCustomGrid.FixedCols |  | The number of fixed columns in the grid.
TCustomGrid.FixedRows |  | Number of the fixed rows in the grid.
TCustomGrid.KeyPress |  | Applies the specified key press character to the control.
TCustomGrid.ClearCols |  | Clears the values in the FixedCols and Cols properties.
TCustomGrid.Clear |  | Clears all cells in the grid control.
TCustomGrid.ClearRows |  | Clears the cached fixed rows and row count values for the grid control.
TCustomGrid.DefaultColWidth |  | Default width used for grid columns.
TCustomGrid.DefaultRowHeight |  | Default row height for newly created grid rows.
TCustomGrid.ShowCellHintWindow |  | Gets and displays the cell hint(s) for the current cell in the grid.
TCustomGrid.PrepareCanvas |  | Prepares the canvas for drawing the cell at the specified location.
TCustomGrid.DrawRow |  | Draws the columns for the specified row in the grid control.
TCustomDrawGrid.OnMouseWheel |  | Event handler for mouse wheel turned.