12-28-2015 02:58 PM
Hello,
I have the following problems with the "collapsed" NodeSet property:
Is there any other/better way to alter the "collapsed" property?
Thanks,
/Mathias
Expand All function:
topo.getLayer('nodeSet').eachNodeSet(function (nodeSet) {
nodeSet.collapsed(false);
});
Example Topology before and after using the Expand All function:
AFTER:
When I use the normal way to expand a NodeSet by pressing the Expand button ( + ), everything is fine:
Solved! Go to Solution.
02-10-2016 04:02 PM
Hi Mathias,
If your can describe you case with more detail, i can help you with that. And topology has 'expandAll' API, you can directly use that. 'expanded' is an 'readOnly' property. so you can set value to that. If you can provide
Abu
12-29-2015 05:55 PM
Hi,
When you use expand all, did some of the node expanded, If yes, that is because the max opened node shoud be 100.
Thanks
Ming Zhu
12-30-2015 01:40 PM
Hi Ming Zhu,
no, not one of the nodeSets expands and there are less than 30 nodes in the example drawing.
Thanks,
/Mathias
01-16-2016 01:37 PM
No ideas?
Thanks,
/Mathias
02-10-2016 04:02 PM
Hi Mathias,
If your can describe you case with more detail, i can help you with that. And topology has 'expandAll' API, you can directly use that. 'expanded' is an 'readOnly' property. so you can set value to that. If you can provide
Abu
02-14-2016 11:43 AM
Hi Abu,
thank you very much for the hint - I couldn't find the method in the docs.
Is there a collapseAll function as well?
Thanks,
Mathias
02-15-2016 03:24 PM
Hi Mathias,
I added collapseAll to the latest version of NeXt, You can refer this implementation.
Abu
02-15-2016 11:45 PM
Hi Abu,
thank you very much!
Regards,
Mathias
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide