| Author |
Adding Background image to the root node of Flextree control
|
sundaresan ganapathy
Greenhorn
Joined: Oct 08, 2008
Posts: 23
|
|
Hi All,
I am working with Flex Tree control, I have a requirement of adding background image for the root nodes. Right now i am using the css property, depthColors: #e2e2e2, #000000, #ffffff, #ffffff; but it is not enough.Also i tried adding the image as the child using createchildren() method, but the image is replacing the root node text, efforts that i put went as vain. Kindly help me out in adding image as the BackGround for the root nodes.
Thanks,
Sundar
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
Do you not just need to define an itemRenderer component? Thats how most rendering of rrepeated controls is done in Flex.
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
sundaresan ganapathy
Greenhorn
Joined: Oct 08, 2008
Posts: 23
|
|
I tried adding the BGImage from within the extended TreeItemRenderer,but the image replaces the root node text...
-Sundar
|
 |
 |
|
|
subject: Adding Background image to the root node of Flextree control
|
|
|