Amd*_*mda 9 jquery state jstree
在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"]
Run Code Online (Sandbox Code Playgroud)
谢谢,
| 归档时间: |
|
| 查看次数: |
7751 次 |
| 最近记录: |