@revolist/revogrid / EditorBase
Interface: EditorBase
Editor interface
Properties
Property | Type | Defined in |
---|---|---|
editCell? | EditCell | src/types/selection.ts:170 |
element? | null | Element | src/types/selection.ts:169 |
Methods
beforeAutoSave()?
ts
optional beforeAutoSave(val?: any): boolean
For Editor plugin internal usage. Prevents Editor save. Manual save usage required.
Parameters
Parameter | Type |
---|---|
val ? | any |
Returns
boolean
Defined in
beforeDisconnect()?
ts
optional beforeDisconnect(): void
Before editor got disconnected. Can be triggered multiple times before actual disconnect.
Returns
void
Defined in
beforeUpdate()?
ts
optional beforeUpdate(): void
Returns
void
Defined in
componentDidRender()?
ts
optional componentDidRender(): void
Returns
void
Defined in
disconnectedCallback()?
ts
optional disconnectedCallback(): void
Returns
void
Defined in
getValue()?
ts
optional getValue(): any
Autosave usage when you want to return value for models.
Returns
any
Defined in
render()
ts
render(createElement: HyperFunc<VNode>, additionalData?: any): string | void | VNode | VNode[]
Parameters
Parameter | Type |
---|---|
createElement | HyperFunc <VNode > |
additionalData ? | any |
Returns
string
| void
| VNode
| VNode
[]