niiknow / vue-datatables-net

Vue jQuery DataTables.net wrapper component
https://niiknow.github.io/vue-datatables-net/
MIT License
171 stars 58 forks source link

saveState not working #64

Closed sejanH closed 3 years ago

sejanH commented 3 years ago

I tried by setting the id. image Also opts object got the saveState: true

noogen commented 3 years ago

Save state is all handled by jQuery datatables.net, see documentation here: https://datatables.net/reference/option/stateSave

I'm not doing anything special. Make sure table has an id and unique combine with the URL.

sejanH commented 3 years ago

Save state is all handled by jQuery datatables.net, see documentation here: https://datatables.net/reference/option/stateSave

I'm not doing anything special. Make sure table has an id and unique combine with the URL.

I am doing everything mentioned. but can't get it to work

noogen commented 3 years ago

So we all seem to have Dyslexia issue. The actual property is stateSave and not saveState

Code has been updated to 1.5.4 and demo is working in saving state. https://niiknow.github.io/vue-datatables-net/

sejanH commented 3 years ago

So we all seem to have Dyslexia issue. The actual property is stateSave and not saveState

Code has been updated to 1.5.4 and demo is working in saving state. https://niiknow.github.io/vue-datatables-net/

Yeah in the it's still saveState so I have been using that. using stateSave works