Abstract
Construct a new cell editor.
Private
_disposedWhether the cell editor is disposed.
Private
_gridGrid wheel event handler.
Private
_validWhether the value input is valid.
Protected
cellCell configuration data for the cell being edited.
Protected
editorThe div element used to contain and position editor widget.
Protected
inputA signal emitted when input changes.
Protected
Optional
onCallback method to call on cell edit cancel.
Protected
Optional
onCallback method to call on cell edit commit.
Protected
validatorCell input validator to use for the cell being edited.
Protected
validityNotification popup used to show validation error messages.
Protected
viewportThe div element used to prevent editor widget overflow beyond grid viewport.
Whether the cell editor is disposed.
Protected
validWhether the value input is valid.
Private
_addPrivate
_closeProtected
commitCommit the edited value.
Cursor move direction based on keys pressed to end the edit.
true on valid input, false otherwise.
Protected
createCreate and return a cell input validator based on configuration of the cell being edited. If no suitable validator can be found, it returns undefined.
Start editing the cell.
The object holding cell configuration data.
Optional
options: ICellEditOptionsThe cell editing options.
Protected
getCompute cell rectangle and return with other cell properties.
Protected
Abstract
getProtected
setProtected
Abstract
startProtected
updateProtected
validate
An abstract base class that provides the most of the functionality needed by a cell editor. All of the built-in cell editors for various cell types are derived from this base class. Custom cell editors can be easily implemented by extending this class.