Getting Uncaught Cannot extend unknown button type: savedStates jQuery-3.7.1. error
Getting Uncaught Cannot extend unknown button type: savedStates jQuery-3.7.1. error
in StateRestore
Hi All
I have just upgraded to the latest libraries and I am getting the following error for savedStates
Uncaught Cannot extend unknown button type: savedStates jQuery-3.7.1.
used as below:
{
extend: 'savedStates',
config: {
ajax: "../php/stateRestoreSave.php"
}
}
However If you go to the following example https://datatables.net/examples/staterestore/initialisation/ajax.html you will note that it is not possible to create a state either and it throws the error message:
Uncaught TypeError: Cannot read properties of undefined (reading 'stateRestore') dataTables.stateRestore.min.js
This question has an accepted answers - jump to answer
Answers
Hi Paul,
StateRestore is one of two extensions that haven't yet been ported for DataTables 3 (SearchPanes is the other).
I'll hoping to have news on the StateRestore port soon.
Allan
Thank you Alan