StateRestore for DataTables with styling for Bootstrap5
This package contains a built distribution of the StateRestore extension for DataTables with styling for Bootstrap5.The StateRestore extension for DataTables builds on the
stateSave
option within DataTable's core. This allows users to save multiple different states and reload them at any time, not just at initialisation.Installation
Browser
For inclusion of this library using a standard<script>
tag, rather than using this package, it is recommended that you use the DataTables download builder which can create CDN or locally hosted packages for you, will all dependencies satisfied.npm
npm install datatables.net-staterestore-bs5
ES3 Syntax
var $ = require( 'jquery' );
var dt = require( 'datatables.net-staterestore-bs5' )( window, $ );
ES6 Syntax
import 'datatables.net-staterestore-bs5'
bower
bower install --save datatables.net-staterestore-bs5