Examples
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.
Try it
- Click
Sort desc, thenFilter P2. RowsP25toP21show. - Click
Page 2.P20,P12andP02show. - Click the
Expand allbutton above the table. Child rows such asP22-childshow. - Click
Reset filters, thenGroup by age. Five age groups show.
Related guides
Profiled Thousand Rows
A 1,000-row table with render counters on its cells, rows, head cells and toolbar buttons. The buttons above it show and reset the counts.
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.