Why does not 'stateLoadParams' event fired?
Why does not 'stateLoadParams' event fired?

Hello
Why does not this code work?
https://jsfiddle.net/Pavel1114/gbqa8r92/
This question has accepted answers - jump to:
This discussion has been closed.
Hello
Why does not this code work?
https://jsfiddle.net/Pavel1114/gbqa8r92/
This question has accepted answers - jump to:
Answers
Doesn't look like you are loading jquery.js. The Installation doc describes the requirements needed for Datatables.
Kevin
Thank you for reply. I have added jQuery. But it doesn't work.
"stateLoadParams" option works. "stateSaveParams" event works. "stateLoadParams" event doesnt work.
You're using it as an event, it's an initialisation option. See here: http://live.datatables.net/jekemeku/1/edit
I understand that. But there are the option 'stateLoadParams'(https://datatables.net/reference/option/stateLoadParams) and the event 'stateLoadParams.dt' (https://datatables.net/reference/event/stateLoadParams . Option works. Event doesnt work. For me event would be preferable.
Works for me still: http://live.datatables.net/jekemeku/3/edit
You're declaring the event after the table has been initialised, by then the event would've already been triggered.
Thank You!
This is not intuitive.