Skip to content

ExternalMountEditorDetail

Event detail for mounting external editor renderers.

Emitted when a cell uses an external editor component spec and needs the framework adapter to mount the editor with commit/cancel bindings.

// Framework adapter listens for this event
grid.on('mount-external-editor', ({ placeholder, spec, context }) => {
// Mount framework editor with commit/cancel wired
mountEditor(spec.component, placeholder, {
value: context.value,
onCommit: context.commit,
onCancel: context.cancel,
});
});
PropertyTypeDescription
placeholderHTMLElement
specunknown
contextobject
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt