An object which holds the configuration data for a cell.
Construct a new cell editor.
Whether the cell editor is disposed.
Grid wheel event handler.
Whether the value input is valid.
Cell configuration data for the cell being edited.
The div element used to contain and position editor widget.
A signal emitted when input changes.
Callback method to call on cell edit cancel.
Callback method to call on cell edit commit.
Cell input validator to use for the cell being edited.
Notification popup used to show validation error messages.
The div element used to prevent editor widget overflow beyond grid viewport.
Whether the cell editor is disposed.
Whether the value input is valid.
Create container elements needed to prevent editor widget overflow beyond viewport and to position cell editor widget.
Remove validity notification popup.
Cancel editing the cell.
Commit the edited value.
Cursor move direction based on keys pressed to end the edit.
true on valid input, false otherwise.
Create and return a cell input validator based on configuration of the cell being edited. If no suitable validator can be found, it returns undefined.
Dispose of the resources held by cell editor.
Start editing the cell.
The object holding cell configuration data.
The cell editing options.
Compute cell rectangle and return with other cell properties.
Return the current input entered. This method throws exceptions if input is invalid. Error message in exception is shown as notification.
Set validity flag.
Whether the input is valid.
Notification message to show.
If message is set to empty string (which is the default) existing notification popup is removed if any.
Start editing the cell. Usually an editor widget is created and
added to editorContainer
Reposition cell editor by moving viewport occluder and cell editor container.
Validate the cell input. Shows validation error notification when input is invalid.
Generated using TypeDoc
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. The namespace for the
CellEditor
class statics.