PDA

View Full Version : Different Style of Nodes in a same Tree ?



nEEbz
12 Dec 2006, 2:27 AM
Is it possible to add different style of nodes in a same treeview?

For a certain a node I need a menu-kinda gif and for the other I need a folder gif. I've gone through the CSS but couldn't find a way to customized the icons to my liking.

Thanks

nEEbz
13 Dec 2006, 3:55 AM
come on guys,

throw me a bone !

jack.slocum
13 Dec 2006, 6:41 AM
I don't know how many people here are using the YUI tree. I am working on a replacement right now. Did you give ydn-javascript a try?

jarrod
14 Dec 2006, 12:11 AM
Yeap, you're able to access each tree node's labelEl, which is an HTML element - just apply the desired styling on it.