on 04-16-2008 4:11 PM
HI Experts,
I am working on WD for ABAP.
I am using a tree to display some data. Node1 points to Root and subnode1 point to node1.
node1-->root
subnode1--> node1
When we expand node1, it shows ">" (arrow) for child nodes.
and if we further expand chld node(sunbnode1) we can see "." (Dot)
As per my requirement IF the node1 does not have any value for subnode1 than node1 should not show ">" , istead of that it should how "." for that child node.
could anyone plz tell me ....
1)how can I solve this.
2)How to use recursive node. I have never used recursive nodes.
PLease reply ASAP. Its very urgent.
for helpfull answers full points would be rewarded.
Regards,
Vishal.
see my comments
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
When you work on Tree, you should remember 4 important attributes.
expanded, parent row key, row_key and is_leaf.
To add children to parent we will have to maintain the relationship between row_key of PARENT and parent_row_key of CHILD.
if row_key = 1, then parent_row_key shoud be eqaul to row_key of parent, so that the corresponding childs will get added to parent.
if u put is_leaf = 'X'., then it means that they bcome childs(no longer exapndable ".")
and when u expand a parent, then expand = 'X'.
Provide Reward points.
Rewards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
refer to the examples wdr_test_tree,wdt_tree,wdt_tree_table_by_key,wdt_tree_table_by_nst
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I suggest you to read this [http://help.sap.com/saphelp_nw04s/helpdata/en/21/ad884118aa1709e10000000a155106/frameset.htm].
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
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.