SideBarDef
Configures the grid sidebar and its panel collection.
Props
The following table outlines the props for the SideBarDef:
| Name | Type | Default | Description |
|---|---|---|---|
| defaultToolPanel | string | - | Panel selected when the sidebar first opens. |
| enabled | boolean | true | Enables or disables the sidebar. |
| hideButtons | boolean | - | Hides the sidebar rail controls while retaining the panel host. |
| openByDefault | boolean | false | Opens the first tool panel when the sidebar initializes. |
| toolPanels | Array<SideBarToolPanel<T> | SideBarPanelId> | - | Panels displayed in the sidebar rail. |