Active selected cell. This is required to enable the editor to activate when a key is pressed
Optional
alignmentThe editor alignment. Used for expanding on overflow
Optional
borderOptional
borderOptional
containerOptional
getIf provided and it doesn't return null then the editor will be aligned to the range.
Inject custom editors based on a cell. This should not return null but rather can canEdit. This is called during placement after scrolling and other bookkeeping has occurred
Access grid methods
Optional
isTest if the key event should start the editor
Optional
isTest if the mouse event should start the editor. If this returns an event this will be dispatched to the editor.
Either true or an StartEditEvent
Optional
onCallback when a start has been initialed. This is called before the editor is mounted.
Optional
onCallback when user cancels editing
Optional
onCallback when user is done editing, either a submit or a cancel
Optional
onOptional
onOptional
onCallback when user start editing
Optional
onCallback when user submits a value. Use this to update state
Optional
canCallback fired before editing. Can be used to prevent editing.
This enables custom editors to be injected in place of a renderer. Note sometimes is makes more sense to just allow the renderer to edit in place. Some examples are when a formula is being entered or if the cell is empty
TODO - should the editor extend the render interface?