Hello all,
we are creating an HMTL application that uses tables that includes links to PDF files. It has to be used only offline under the File://
protocol (I can't change that!).
When the user gets back from the PDF to the table, sorting and filtering are reset to the initial state.
I know that there is the stateSave option. However, this option uses by default HTML 5 Local storage, which is not available under the File://
protocol.
Is there a way to save the actual datatables state to a cookie using e.g. js-cookie https://github.com/js-cookie/js-cookie or something similar?
I suppose it must be done with the stateSaveCallback option. But I could not make it work.
pedrono