You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am experiencing problems using persist plugin.
I am using table ext along-with persist-ext. But when I reload my page, Tree doesnt recover last selected node. Is there a problem with my Json ?
Note: To explain my issue, I am using JSFIDDLE, so If you select any node and press RUN in jsfiddle, it should recover last active node by selecting it.
Ok, I i have been looking into this and found the problem.
Persist ext is expecting string as value of key. SO {"key": "2", "title": "abc" } will work
but {"key": 2 , "title": "abc" } wont because 2 is int not string.
However most of the time DB`s have unique keys and on server-side keys are returned as int instead of strings as they are unique.
Hello, I am experiencing problems using persist plugin.
I am using table ext along-with persist-ext. But when I reload my page, Tree doesnt recover last selected node. Is there a problem with my Json ?
Note: To explain my issue, I am using JSFIDDLE, so If you select any node and press RUN in jsfiddle, it should recover last active node by selecting it.
1st JSFIDDLE:
This is not working for some reason and doesn't recover my last selected node when i press run button in fiddle.
http://jsfiddle.net/bababalcksheep/PMqnB/26/
2nd JSFIDDLE:
This some how works.
http://jsfiddle.net/bababalcksheep/PMqnB/25/
I cant figure what`s wrong in my 1st JSFIDDLE: which is my real example.
The text was updated successfully, but these errors were encountered: