Examples
Controlled Density And Selection
Density and row selection are kept in the page's own state. Their current values show as text above the table.
Try it
- Click
Toggle density. The text above the table changes tospacious. - Click
Toggle densityagain. It changes tocompactand the rows get tighter. - Tick the checkbox on
Lily.1shows above the table and the row is highlighted.
Related guides
Row Model Follows State
Buttons above the table change sorting, filters, page, expansion and grouping from outside the table body. The rows follow each change.
External Atoms Density And Selection
Density and row selection live in external atoms created outside the table. Buttons above the table write to them.