ToolPanelState

View as Markdown

Tool Panel section of Adaptable State, including Initial State.

ToolPanels is the list of panels and whether each is expanded or collapsed. When it is omitted, AdapTable shows a collapsed panel for every module and for every custom tool panel. ModuleButtons are the shortcut buttons in the tool panel; the default is an empty list.

TypeScript
export interface ToolPanelState extends
Extends

BaseState

Properties

PropertyTypeDescriptionDefault
ModuleButtonsAdaptableModuleButtonsAdapTable Module Buttons visible in ToolPanelEmpty Array
ToolPanelsAdaptableToolPanelDefinition[]Tool panels to show, and whether each is expanded or collapsed.

When omitted, every module and every custom tool panel is included, collapsed.

Property Details

ModuleButtons

AdapTable Module Buttons visible in ToolPanel

TypeScript
ModuleButtons?: AdaptableModuleButtons;
Default Value

Empty Array

Property Value

AdaptableModuleButtons

ToolPanels

Tool panels to show, and whether each is expanded or collapsed.

When omitted, every module and every custom tool panel is included, collapsed.

TypeScript
ToolPanels?: AdaptableToolPanelDefinition[];
Property Value

AdaptableToolPanelDefinition[]