on 05-17-2016 7:10 AM
Hi All,
In sap.ui.commons.Tree I want to scroll a node into view if it is not showing. This node is selected programmatically and has to be displayed.
have the reference to the TreeNode in question.
How can i achieve this? Any suggestions?
Thank you in advance for your time and help!!
Regards
Fehmina.
Hi,
Set the node's property setIsSelected(true)
and make sure the selection mode of the parent tree is set to legacy or single. I'm not sure if the select
event will be triggered but it's easily done manually.
Greetz
Silvio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.