DocsExamplesMore examples

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

  1. Click Toggle density. The density in the line below the table changes.
  2. Click Remount. The table comes back with the density you picked.
  3. Open View settings and click Reset view. The line shows density=comfortable.