# sideBar

Configures column/filter tool panels and the initially open panel. true provides tabs; a string opens the specified panel.

Canonical: https://grid.syidax.com/docs/options/sideBar/

<a id="meaning"></a>

## What does this API do?

Configures column/filter tool panels and the initially open panel. true provides tabs; a string opens the specified panel.

API for Pro features: Columns / Filters tool panels

<a id="contract"></a>

## Exact input and result types

```typescript
sideBar: boolean | string | { panels?: ReadonlyArray<{ id: string } | string>; defaultOpen?: string }
```

| Item | Value |
| --- | --- |
| JavaScript name | sideBar |
| HTML attribute | side-bar |
| Default | undefined |
| Input type | boolean \| string \| { panels?: ReadonlyArray<{ id: string } \| string>; defaultOpen?: string } |

<a id="usage"></a>

## Usage flow

Set this on a property of the Grid element. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

<a id="recipes"></a>

## Feature explanations and examples

- [Tool panel](https://grid.syidax.com/docs/features/tool-panels.md) — Tool panels collect cross-column tasks such as visibility and filter settings. They separate data space from settings space and open only when needed.
