The data collections of node's child nodes.
1. If change the 'children' to other attribute, please set the 'setting.data.key.children' attribute.
2. If you set to use dynamic tree, when a node is expanded which 'isParent' attribute is true and which has no child nodes, zTree will use ajax to get its child nodes.
Default: undefined
Standard JSON Data object
var nodes = [
{ "id":1, "name":"test1",
children: [
{ "id":3, "name":"test3"},
{ "id":4, "name":"test4"},
{ "id":5, "name":"test5"}
]
},
{ "id":2, "name":"test2" }
]
var treeObj = $.fn.zTree.getZTreeObj("tree");
var nodes = treeObj.getNodes()[0].children;