on 11-04-2009 4:30 AM
Hi all,
My page with context is:
-TREE (node)
---TREENODE (node; data is load by Supply Function)
-
CHILDNODE (node; data is load by Supply Function)
-
name (attribute)
-
value (attribute)
I mapped this context into TREE as below:
-TREE (element type: TREE; dataSource : TREE)
---TNT_NODE (element type: TreeNodeType; dataSource: TREENODE; hasChildren: TRUE )
---TNT_CHILDNODE (element type: TreeNodeType; dataSource: CHILDNODE; hasChildren: FALSE)
It runs ok, but my request is:
Keep items (children) of TNT_NODE expand (open) when tree reload or Load and expand current node automatically when tree is reloaded.
Please give me your advice.
Regards,
Ken
Thank you all. My issue is resolved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your reply.
I set "Expanded" property for TNT_NODE (TreeNodeType) which parent of TNT_CHILDNODE, but it expanded all nodes, my desire is it expands the current node (focus node) only.
I don't see "Parent Key" property as you mentioned on properties panel of layout tab.
Regards,
Ken
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am not sure wether you have binded the prperties like 'Is child', 'Expanded', "Parent Key ', 'Key', or not . If you have binded these values then when the child elements are loaded then when u are loading the child elements then you can append the value as expanded 'abap_true' or as ' X' that means when u try to upload the child elements then the the child elements will be expanded defaultly.
Hope this may help you.
Have A Good Day.
Regards,
Sana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.