StateRestore 1.4.0

DataTables CDN files for StateRestore 1.4.0. This software was originally released on 15th February, 2024.

Release notes

This minor release of StateRestore ensures full compatibility with DataTables 2, while also focusing on a number of bug fixes. It also brings the documentation and examples up to par with the DataTables standard.

StateRestore 1.4+ is compatible with both DataTables 1 and 2.

New

  • DataTables 2 support

Fixes

  • Column search / visibility toggle wasn't working
  • Remove an empty button that was incorrectly being added
  • Use the popoverTitle option from Buttons for display of the title, rather than an h3 element. It provides more consistent styling in the DataTables components.
  • Improved layout for StateRestore modals
  • Linting fixes (no behaviour change)
  • Browser compatibility to match DataTables 2 specs - last ten years, which includes Safari 7.1

Types

  • new constructor returns instance (noImplicitAny)
  • Plug-in was on the wrong DataTables host object (type)

Docs

  • Updating the documentation to better represent the structure of the StateRestore options (they are not top level DataTables configuration options at the docs used to suggest).
  • Fix 404 on link to example
  • Consistent code formatting for code snippets

Examples

  • New ColReorder integration example
  • Vanilla JS version of examples and formatting updated
  • Add a spacer into the alt UI example between the control buttons and the state buttons.
  • Column filter example wasn't restoring column filtering values on state restore
  • Lettering for title
  • Consistent code formatting for examples

Files