在Jstree中添加状态插件仍然没有在页面刷新之间或单击链接并返回上一页之后保存树的状态
- $('#myGrid').jstree({
- "types": {
- "key": {
- "icon": "Content/Images/skey.png"
- },"value": {
- "icon": "Content/Images/sValue.png"
- }
- },"state": { "key": "myTree" },"search": { },"core": {
- "check_callback":true,"data": [@Html.Raw(Model.JsonData)]
- },"plugins": ["state","types","search"]
谢谢,