File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding Background image to the root node of Flextree control

 
sundaresan ganapathy
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you not just need to define an itemRenderer component? Thats how most rendering of rrepeated controls is done in Flex.
 
sundaresan ganapathy
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried adding the BGImage from within the extended TreeItemRenderer,but the image replaces the root node text...

-Sundar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic