Skip to content

RevoGrid Documentation v4.27.11 / EditorBase

Interface: EditorBase ​

Editor interface

Properties ​

PropertyTypeDefined in
editCell?EditCellsrc/types/selection.ts:210
element?null | Elementsrc/types/selection.ts:209

Methods ​

appendPendingInput()? ​

ts
optional appendPendingInput(value: string): boolean

Consume printable input that reached the grid while the editor mounted. Return true when the editor handled the value.

Parameters ​

ParameterType
valuestring

Returns ​

boolean

Defined in ​

src/types/selection.ts:215


beforeAutoSave()? ​

ts
optional beforeAutoSave(val?: any): boolean

For Editor plugin internal usage. Prevents Editor save. Manual save usage required.

Parameters ​

ParameterType
val?any

Returns ​

boolean

Defined in ​

src/types/selection.ts:224


beforeDisconnect()? ​

ts
optional beforeDisconnect(): void

Before editor got disconnected. Can be triggered multiple times before actual disconnect.

Returns ​

void

Defined in ​

src/types/selection.ts:230


beforeUpdate()? ​

ts
optional beforeUpdate(): void

Returns ​

void

Defined in ​

src/types/selection.ts:225


componentDidRender()? ​

ts
optional componentDidRender(): void

Returns ​

void

Defined in ​

src/types/selection.ts:231


disconnectedCallback()? ​

ts
optional disconnectedCallback(): void

Returns ​

void

Defined in ​

src/types/selection.ts:232


getValue()? ​

ts
optional getValue(): any

Autosave usage when you want to return value for models.

Returns ​

any

Defined in ​

src/types/selection.ts:219


render() ​

ts
render(createElement: HyperFunc<VNode>, additionalData?: any): string | void | VNode | VNode[]

Parameters ​

ParameterType
createElementHyperFunc<VNode>
additionalData?any

Returns ​

string | void | VNode | VNode[]

Defined in ​

src/types/selection.ts:233