‎2008 Oct 02 11:20 AM
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
‎2008 Oct 02 11:45 AM
Maybe you can try something like this
CALL METHOD r_tree->scroll
EXPORTING scroll_command = cl_tree_model=>scroll_home
‎2008 Oct 02 12:42 PM
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
‎2008 Oct 02 3:54 PM
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!
‎2008 Oct 03 7:50 AM
Can anybody suggest me on this.
Thanks and Regards,
Balakrishna.N