Skip to content

@serenity-is/sleekgrid / EditController

Interface: EditController

Defined in: src/core/editing.ts:192

Active edit controller implemented by the grid; managed by EditorLock.

Methods

cancelCurrentEdit()

cancelCurrentEdit(): boolean

Defined in: src/core/editing.ts:202

Cancels the current edit if any.

Returns

boolean

true if cancelled or no edit was active.


commitCurrentEdit()

commitCurrentEdit(): boolean

Defined in: src/core/editing.ts:197

Commits the current edit if any.

Returns

boolean

true if committed or no edit was active, false if validation failed.