on 05-04-2005 3:02 PM
Hi,
I created a tree structure, I m getting main nodes, but if I click on the main nodes, I need to get child nodes from another table.
I referred this with SBSPEXT_HTMLB, I think he is statically assigning the values, but I need to get dynamically. How can I get?
Please help me.....
Thanks,
Ravindra.
Hi Ravindra,
It is possible to assign dyanmic value to tree node by using the " table" attribute of tree control .You can asing the the name of your internal table in this attribute .
try this code this will help you to assign values dynamically.
***********onlayout**************
<htmlb:tree id = "myTree4"
table = "<%= tab %>" />
******************************************
you can also check the last example of tree.bsp page in SBSPEXT_HTMLB application.
I hope it will help you.remember to give points if your problem is solved.
Monica
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
the last example in the sbspext_htmlb application shows you how to build a tree dynamically using a table. If this example doesn't help you take a look at <a href="/people/durairaj.athavanraja/blog/2004/11/21/bsphow-to-build-performance-efficient-dynamic-htmlbtree weblog it seems it is about the same thing you want to do.
regards
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.