on 07-25-2014 4:43 AM
Hi all,
I am very new to portal development and customization and would like to ask how can we achieve to auto collapse a root node when another root node is expended so that only one node will be opened each time. Something like below.
Is this achievable? I was looking into the LightDetailedNavigationTree.jsp file but I was not successful in changing it for this to work.
Any advice are greatly appreciated.
Thank you.
Regards,
Amanda
Hi Amanda,
Using the SAP API's this cannot be acheived. however, it is very simply to customize the code in order to do so.
In javascript all you need to do is get the selected treeItem, and then bind an onClick event that on change selected tree item triggers the click on the icon of the previous selected tree item in order to close it.
This should be simple enough.
BR,
Saar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.