dailyblog
|
|
« on: October 27, 2016, 06:09:27 PM » |
|
Is this setting supported? $("#tree").tree({ id:"...", parentId:"...", text:"..." })
then json data can be loaded as below: [ {id:1,parentId:'-1',text:'Node1'}, {id:2,parentId':1,text:'Node2'}, {id:3,parentId':2,text:'Node3'}, {id:4,parentId':2,text:'Node4'} ]
I think "loadfilter" function is more difficult than above
|