Dear friends,
iam creating a chart same like below image:
https://forum.nwoods.com/uploads/db3963/original/2X/9/924cfdf77f94f29ec7c73ba7243345d07de6a18e.png
I want to show or hide the below table on each blue color nodes. I manage to show/hide by below code:
function showDetails(e,Obj){
if(Obj.part.data.visible){
diagram.model.setDataProperty(Obj.part.data, “visible”, false);
}else{
diagram.model.setDataProperty(Obj.part.data, “visible”, true);
}
diagram.updateAllTargetBindings();
reArrangeNode(“left”, leftMainNodeInc, centerObjX, centerObjY);
}
its working fine. But I have a function called reArrangeNode, its not working, if I call after doing some action its working pls help me . When I call re arrage function, it will calculate height of the each object and arrage accordingly. even its visible true (shows table) its calculating as old height.
pls help me to solve this… even I put diagram.updateAllTargetBinding() too its not updating…
Thanks and Regards,
Syed Abdul Rahim