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: 

Tree display

Former Member
0 Kudos

Hi all,

I am displaying a tree. It contains more lines that does not fit on the screen. It the tree is scrolling down to end. But what I want is not to scroll down to end. It should shows us the first line of the tree.

Can you please give me any suggestion on this.

Thanks and Regards,

Balakrishna.N

4 REPLIES 4

Former Member
0 Kudos

Maybe you can try something like this

 CALL METHOD r_tree->scroll
          EXPORTING scroll_command = cl_tree_model=>scroll_home 

0 Kudos

Thank you very much for your reply. I am using CL_ALV_TREE_BASE. In this class I did not find any method like you mentioned.

Thanks and Regards,

Balakrishna.N

Former Member
0 Kudos

ok... I was referring to CL_GUI_COLUMN_TREE... it doesn't look like CL_ALV_TREE_BASE has as many methods available to it. Perhaps as a workaround there is a Search or Set method within that class that would implicitly scroll to a particular node... just a suggestion though!

Former Member
0 Kudos

Can anybody suggest me on this.

Thanks and Regards,

Balakrishna.N