Custom Tool Panels

Summary

  • Custom Tool Panels are Tool Panels provided by Developers
  • They are provided in Tool Panel Options
  • They are hosted in the Adaptable Tool Panel Component

Developers are able to provide custom ToolPanels containing bespoke elements.

They are rendered inside the Adaptable ToolPanel Component alongside the Module ToolPanels.

Note

Once defined, Custom ToolPanels can be configured and used in the same way as Module ToolPanels

Similar to Custom Dashboard Toolbars they can contain 2 different sets of content:

  1. Buttons - an array of Adaptable Buttons
  2. Bespoke content - for when more than buttons are required
Deep Dive

Anatomy of a Custom ToolPanel

Custom ToolPanel are provided in the customToolPanels property of Tool Panel Options.

customToolPanels

Custom ToolPanels to provide for Adaptable Tool Panel Component
Developer Guide

Providing a Custom ToolPanel

Caution

  • Unlike Toolbars, the close button on a ToolPanel is always visible (and not configurable)
  • Module ToolPanels always display the Configure Button (but never for Custom ToolPanels)
Custom ToolPanel
Fork
  • This example provides 4 Custom Tool Panels (using AdapTable Vanilla):
    • CustomRender1, CustomRender2 and CustomRender3 all display bespoke content
    • CustomPanelButtons - contains AdapTable Buttons (which have been styled)

Expand to see the Custom Tool Panel Definitions

AdapTable Resources