Examples
Persistence
A table that saves its view to local storage, with a Remount button that rebuilds it from the saved view. The line below the table shows the current density and rows per page.
Try it
- Click
Toggle density. The line below the table showsdensity=spacious. - Set
Rows per pageto20. The line showspageSize=20. - Click
Remount. The density and rows per page stay as you set them. - Open
View settingsand clickReset view. The saved view is cleared.
Related guides
View Settings Persisted
A table that saves its view to local storage, with a Remount button that rebuilds it from the saved view. The line below the table shows the current view.
Persistence Keeps Page Index
A table of tasks that saves its view and starts on page 3 at 10 rows per page. After you change rows per page and click Remount, it is back on page 3.