saveState not working
saveState not working
allanj37
Posts: 3Questions: 1Answers: 0
I can't figure out how to get saveState to do anything. I created a simple example where the only option is "saveState: true", but it never creates any data in my localStorage.
When I tried the debug function, I see my saveState option, but the state saving feature says it's disabled.
Any help would be greatly appreciated!
This discussion has been closed.
Answers
Anyone have any ideas on this? The option looks like it should be really simple to use, but it's just not working at all.
Can you update to DataTables 1.10.11 in the first instance please - 1.10.2 is quite old now. Also can you link to the page showing the issue if that doesn't fix it immediately?
Thanks,
Allan
So I figured it was going to be a small/dumb mistake, but I didn't think it was going to be quite this bad.
I was using "saveState" instead of "stateSave". Ugh! Wasted way too much time on that typo...
Haha! I completely failed to spot that... Well spotted in the end :-)
Allan