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

Slots

Learn about the layout slots of 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 Data Grid comes with placeholder content slots that live within the contextual provider. When provided, any component used for the slot will have access to the Data Grid context via the useDataGridContext hook.

You can utilize a slot by adding the name of the slot as a property to the DataGrid component and passing in the preferred ReactNode.

Data Grid Slots

  • Toolbar: placed above the grid. Commonly used for global actions.
  • Footer: placed below the grid.

Note

Remember that all slot positions are constrained to the dimensions provided by the parent component wrapping your Data Grid.

Slot Preview

In this demo we show the location of each slot provided for the Data Grid.

Loading example...

On this page

  • Overview
  • Slot Preview
Edit this page on Github
Toolbar
Footer