Option which params are saved with stateSave
Option which params are saved with stateSave
s1738berger
Posts: 2Questions: 2Answers: 0
Hi,
which params are stored when stateSave is set to true?
Is there a way to define which params are being saved when stateSave is used?
For example to exclude pageLength because this changes with every call of datatables.
Thanks for your help.
Stefan
This discussion has been closed.
Answers
Hi Stefan,
The state save parameter object is documented in the
stateSaveCallback
reference.If you want to remove the page length you could do something like
delete data.length;
instateSaveParams
.Allan