Custom Settings Panels
Summary
- Developers can add bespoke panels to the Settings Panel via Settings Panel Options
- Each panel supplies custom content only — there is no buttons-based variant (unlike Custom Toolbars or Tool Panels)
Developers can add custom panels to the Settings Panel.
Note
This allows users to manage AdapTable and application settings in one place
Custom panels are provided using the customSettingsPanels property in Settings Panel Options.
Deep Dive
Anatomy of a Custom Settings Panel
Providing Bespoke Content
Provide bespoke content with render on CustomSettingsPanel.
The function receives CustomRenderContext (phase, element, adaptableApi).
render?: (context: CustomRenderContext) => string | null;Return HTML when phase is 'onMount'; return null on 'onDestroy' for teardown.
Developer Guide
Providing a Custom Settings Panel (Vanilla)
- An Application Settings panel uses
renderwithCustomRenderContextlifecycle navigationplaces the custom panel at the top of the Settings Panel nav (grouped layout)- On load, Settings Panel API opens that panel
Setting Navigation order
Use the navigation configurer on Settings Panel Options to customise grouped navigation in the Settings Panel.
The function receives AdapTable context and a clone of the default navigation, and returns { groups: [...] } where each group has:
label— section heading (use an empty string for items without a heading)items— module or custom panel names in display order
Configuring the Settings Panel explains how to list shipped modules, custom panels, and groupings.
Caution
- Custom panels will not appear unless explicitly listed in your navigation groups
- If you omit
navigation, AdapTable uses the default grouped module list and appends each custom panel to aCustom Panelsgroup at the end
AdapTable Resources
- Settings Panel — overview of the Settings Panel
- Settings Panel Configuration — configurating Settings Panel to provide bespoke items list
- Settings Panel Options —
navigation,customSettingsPanels, and related options - Building Custom Components — framework component patterns shared with Toolbars and Tool Panels