cancel
Showing results for 
Search instead for 
Did you mean: 

Icons in Recursive Tree Structure

Former Member
0 Kudos

Hi All,

How to bring Icons in Recursive Tree Structure ? I want Different Icons based on the Node Values.

Regards,

Padmam.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

you should have an attribute icon_source in your node,

fill this with the source of the icon depending on values in the node structure.

And this attribute should be bound to the icon_source attribute of the treenode.

if it depends on your children, you should use the logic of onLoadChildren to

get the content first to determine the icon

grtz,

Koen

Former Member
0 Kudos

hi padmam.....

you can bind the icon source to at type string attribute and pass the correct value to it.

---regards,

alex b justin

Former Member
0 Kudos

Hi Alex,

Based on the Demo Program WDT_TREE,I've developed the Tree Structure.But .i've used only Folder Element ( No File Element ).Whenever it is refering this node it change the Same Icons for the Whole Node. Even I've checked the Condition.

Regards,

Padmam.