Example of a plugin using stateSaveParams and stateLoadParams events?
Example of a plugin using stateSaveParams and stateLoadParams events?
charles_dyfis_net
Posts: 4Questions: 0Answers: 0
Howdy --
I'm interested in adding support for saving input box contents to the 3rd-party columnFilter plugin. Towards this end, I'm interested in having a look at any plugin already leveraging stateSaveParams and stateLoadParams events to inject their additional data into the stored cookie, as I understand the DataTables documentation to indicate that leveraging these is the canonically correct way for plugins to store additional data.
Thus far, I've grepped through both ColReorder and KeyTable, both of which I would expect to have additional state in their operation, and come up empty for any reference to these events. Do I have a fundamental misunderstanding, or should I be looking elsewhere?
Thanks!
I'm interested in adding support for saving input box contents to the 3rd-party columnFilter plugin. Towards this end, I'm interested in having a look at any plugin already leveraging stateSaveParams and stateLoadParams events to inject their additional data into the stored cookie, as I understand the DataTables documentation to indicate that leveraging these is the canonically correct way for plugins to store additional data.
Thus far, I've grepped through both ColReorder and KeyTable, both of which I would expect to have additional state in their operation, and come up empty for any reference to these events. Do I have a fundamental misunderstanding, or should I be looking elsewhere?
Thanks!
This discussion has been closed.