HI
I need to add and get custom property like
sample data;
var a = [{ id:1,pid:1,name:'hi',attribute:'att1',attribute2:'att2' },
{ id:2,pid:1,name:'hi',attribute:'att2',attribute2:'att3' }
];
I am taking all checked nodes from the tree
var chknodes = tree.getAllCheckedNodes();
chknodes.forEach(function(id){
// with this id I have to get the value of attribute and attribute2
})
I used getTreedata but it returns [] sometimes.
I tried getNode(id) but it returns only the id, name,pid.
so how do i get the custom property