GridPlugin
Minimal plugin interface for type-checking. This interface is defined here to avoid circular imports with BaseGridPlugin. All plugins must satisfy this shape (BaseGridPlugin implements it).
Example
Section titled “Example”// Using plugins in grid configimport { SelectionPlugin, FilteringPlugin } from '@toolbox-web/grid/all';
grid.gridConfig = { plugins: [ new SelectionPlugin({ mode: 'row' }), new FilteringPlugin({ debounceMs: 200 }), ],};
// Accessing plugin instance at runtime (preferred)const selection = grid.getPluginByName('selection');if (selection) { selection.selectAll();}Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
name | string | Unique plugin identifier |
version | string | Plugin version |
styles? | string | CSS styles to inject into the grid |
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