I am thinking to use go js Group node for this specific use case. So when user clicks on “hide” link, it should hide all nodes added to placeholder under this group. And as shown below, even the size of the group node should automatically shrink.
Is there a way to hide all nodes under a group node, without setting visible property to false for each node/ link ? I tried setting visible property for placeholder. But that didn’t work. I also tried to wrap placeholder within a panel and set visible property of panel to false.
What is the suggested way to dynamically adjust size of group node, if at all hiding nodes works ?
That what collapsing a group does. It effectively makes all of its member parts not visible (i.e. Part.isVisible() will become false for those members, recursively) without actually setting Part.visible to false.
I have seen this example. But in our specific use case, we need a hyper link (hide/ show) which shows or hides content added to place holder.
Also the height of icon container panel (the one in orange color) should also change dynamically based on whether group is collapsed or expanded.
Does subgroupexpander button allow customisation to render it as a link, instead of button ? And does this always collapse placeholder content only ?