Examples
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.
Try it
- Click
Toggle density. The density in the line below the table changes. - Click
Remount. The table comes back with the density you picked. - Open
View settingsand clickReset view. The line showsdensity=comfortable.
Related guides
View Settings Seeded
A table that starts compact with the Priority column hidden. Reset view returns to this starting view, not to the defaults.
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.