on 05-03-2011 2:40 PM
Hi ,
I have created a Tree structure in my application. I need to now modify the Tree structure( So basically add new levels or sub levels.) I am filing the tree structure by using Supply Method in nodes.
We have got a button, and when we press the button, we want that a sub node will created under the selected node in Tree structure. But we are unable to access the Tree node from context.
Do we need to again call the Supply Method?
If yes then, how can I pass the information of sub node to the supply method?
Regards
PG
Please have a look at this document regarding the supply function usage.
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c097acf8-f4c6-2d10-e8bd-e6172272a931?quicklink=index&overridelayout=true|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c097acf8-f4c6-2d10-e8bd-e6172272a931?quicklink=index&overridelayout=true]
You should not use supply function to get to the child node. You have to look for another solution for your tree problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As the name suggests Supply functions are used to supply the data to the node.
Supply function of a child node is called whenever the parent node's lead selection changes.
So if you wish to populate your child node with the data you can use supply function in child node.
however i dont see this as your requirement.
Also please share the code used to access the Tree node from the context. this will give better understanding of your requirement.
Regards,
Ashish Shah
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 | |
10 | |
9 | |
7 | |
7 | |
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.