Custom Tool Panels
Developers can register their own sidebar panels with a tab icon and label, a render function, and lifecycle hooks. Custom panels can host saved views, record details, or help content alongside the built-in panels.
Planned. This page shows the specification from issue #202. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A sidebar with Columns, Filters, and a custom 'Saved views' panel.
Expected behavior
The custom panel renders its content and can call the grid API. Saving a view stores the column, filter, and sort state, and applying it restores that state.
Planned API surface
sideBar.panels[]{id,label,icon,render,onOpen,onClose,destroy}api.refreshToolPanel(id)api.getToolPanelInstance(id)Acceptance criteria
- render receives a container element and the grid API. (pending)
- onOpen and onClose fire at the right times. (pending)
- destroy is called when the panel is removed or the grid is destroyed. (pending)
- Registering a panel with a duplicate ID throws an error in development mode. (pending)