DocsBlog

Get Started

Components

Data Grid

Signals

Styling

Theming

↑↓Navigate
↵Select
EscClose
  • 1.8.0

  • Day

    Night

    Preview

    Switch mode
  • cerberus

    acheron

    elysium

    oceanus

Get Started
Components
Data Grid
Signals
Styling
Theming

Get started

Overview Quickstart Columns Context Theme

Layout

Dimensions SizingSlotsOverlaysToolbarFooterPagination

Features

Column PinningColumn SortingFilteringColumn Visibility

Reference

API

Toolbar

Learn how to create custom toolbars in the Data Grid component.

  • source
View as Markdown
Open this page in Markdown
Anthropic
Open in Claude
Ask questions about this page
OpenAI
Open in ChatGPT
Ask questions about this page

Overview

The Toolbar is a reserved area above the Data Grid component typically used for global actions for the grid itself.

To add a custom toolbar, you can use the toolbar prop and pass a React component.

Since the toolbar is positioned within the Data Grid component, it shares the same height restrictions as the grid itself. Ensure your parent height is set appropriately to accommodate the toolbar.

Note

If you don't need the context of the grid, we recommended rendering your toolbar outside of the Data Grid component.

Loading example...

Grid Context

To access the Data Grid context, you use the useDataGridContext hook which provides a signal driven store for reading and updating state in a highly performant way.

Read the Data Grid Context documentation for more details.

On this page

  • Overview
  • Grid Context
Edit this page on Github
This table has 200 rows