cancel
Showing results for 
Search instead for 
Did you mean: 

child node in the tree

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

thomasalexander_ritter
Active Contributor
0 Kudos

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