Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Layout for Nodes in Change_node method of cl_gui_alv_tree

Former Member
0 Kudos
577

Hi Gurus,

I have a requirement of hiding/unhiding few nodes from a tree alv based on some button click on the tool bar on the control. For this what I did is I utilised the change_node method of the class cl_gui_alv_tree. While Hiding the nodes I am passing 'X' in IS_NODE_LAYOUT-hidden and IS_NODE_LAYOUT-u_hidden and after that calling the method frontend_update. It is working perfectly fine, but while unhiding, I am passing blank spaces in these structures and then calling the frontend_update method but it is not working in that case. Could some let me know if I am missing something here or whether this can be done in any alternative ways?

Regards,

Manish

1 ACCEPTED SOLUTION

Venkat_Sesha
Product and Topic Expert
Product and Topic Expert
0 Kudos
171

Have you tried to pass the space to unhiding or SPACE keyword to Unhiding.

Also Check the BCALVTREE in SE38 and Hope you can get some help on Event handling and other stuff.

Thanks In advance

1 REPLY 1

Venkat_Sesha
Product and Topic Expert
Product and Topic Expert
0 Kudos
172

Have you tried to pass the space to unhiding or SPACE keyword to Unhiding.

Also Check the BCALVTREE in SE38 and Hope you can get some help on Event handling and other stuff.

Thanks In advance