cancel
Showing results for 
Search instead for 
Did you mean: 

Expanding and Collapsing Hierarchical Levels of a node

Former Member
0 Kudos


Hi Expert,

There is a scenario where user wants the Hierarchical data in a node to be in expanded form.

At present, all the hierarchical data in a node in displayed in collapsed form.

We need to manually click the expand icon(triangle Icon) , then the child nodes and siblings are visible.

I need to default this settings so that all the data comes in expanded form.

Please help me in resolving this issue?

regards,

Vicky

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Vicky,

There is an event raised when you open the next level. Maybe you can raise it (several times) when opening the view.

Otherwise I am not sure if there is such a setting in the HTML-coding or an attribute like that in the IMPL- or CN-class.

Best regards,

Thomas Wagner

Former Member
0 Kudos

Hi Thomas,

I am using the method:  expand_all_root_nodes( ). It expands all the nodes but the drawback is it is not allowing to collapse the node again.All nodes remains expanded.

I have tried using   Me->typed_context->ISUBOLTREE->EXPAND_NODE( '1' ) but is only expands the 1st node. Remaining child nodes remains collapsed.

Subnode expand method is not helping.

Please let me know if you can help me with any other method which expands the tree completly as well as allows us to collapse the individual child node.

View details: IUBOTREE/IsuBolTree

regards,

vicky

Former Member
0 Kudos

The issue is resolved.
The method:  expand_all_root_nodes( ) worked .

regards,

Vicky