Playground
Every prop of DataTable, generated from the types, with a live table and the code for whatever you have configured.
The controls below are generated from DataTableProps itself, so the playground cannot drift from
the component: a prop added to the type appears here, and one that is removed disappears. Change
anything and the table re-renders with it; the code panel shows exactly the props you have set.
Loading…
What to try
- Turn on grouping and then column footers, and switch
footerAggregationScopebetweenpageandfilteredto see which total you actually want. - Set pagination type to
loadMoreorinfiniteand watch the rows accumulate rather than replace. - Switch density and striping together: the whole visual system is tokens, so nothing reflows.
- Turn off rows per page and see the control disappear while paging still works.
Related
DataTableProps: the same props, with their types and documentation.- Theme editor: the same idea for the visual tokens.
- All features: a page per capability, each with its own demo.