Issues with callbacks when enable "persistentState"

Tags: #<Tag:0x00007efc6b483140>

Hi,

I need to handle the columns persistence in a different way since my columns are dynamic and the position 0 is not always the same. I tried to define the callbacks that according to the documentation must be called when persistentState is true, but just found the method persistenStateLoad is never called and persistentStateSave is been called even if “persistentState” is false.

Please let me know what is the best way to handle a custom persistence. I am enabling plugins for hide/show, manualColumnResize and manualColumnMove.

Here is a JSFiddle, just enable/disable setting.

http://jsfiddle.net/gvazq82/7e01f8r6/

I appreciate any response.

Hi @gabriel_vazquez

Thanks for sharing demo. I’ll check it and be back to you as soon as possible.

Hi @gabriel_vazquez

Here is example based on your demo with custom use persistentState: http://jsbin.com/jeyukuvicu/1/edit?js,console,output

Currently persistentState not supported hiddenColumns plugin.

persistentStateSave method is call by plugins (manualColumnResize and manualColumnMove) but doesn’t save data in localStorage