Skip to content

ExternalMountViewDetail

Since v0.1.1

Event detail for mounting external view renderers.

Emitted when a cell uses an external component spec (React, Angular, Vue) and needs the framework adapter to mount the component.

// Framework adapter listens for this event
grid.on('mount-external-view', ({ placeholder, spec, context }) => {
// Mount framework component into placeholder
mountComponent(spec.component, placeholder, context);
});
PropertyTypeDescription
placeholderHTMLElement
specunknown
context{ row: TRow; value: unknown; field: string; column: unknown }