JsTree json_data插件父

时间:2017-01-24 09:22:52

标签: jstree

我正在使用jstree使用json_data插件和

根据文档,格式是这样的。

{ 
    "data" : "node_title", 

    "attr" : { "id" : "node_identificator", "some-other-attribute" :                                    "attribute_value" }, 

    "state" : "closed", // or "open", defaults to "closed"

    "children" : [ /* an array of child nodes objects */ ]
}

我已经检查过jstree使用“children”工作正常,但还没想出要使用“parent”。

在json_data插件中使用“parent”是不是不可能?

如果有人知道答案,请帮助。

提前谢谢你。祝你有美好的一天。

0 个答案:

没有答案
相关问题