This is a migrated thread and some comments may be shown as answers.

Alternating row styles

0 Answers 86 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Mustafa Hussain
Top achievements
Rank 1
Mustafa Hussain asked on 13 Aug 2009, 09:52 PM
Hello,

I have a requirement for the project im working on. I will try to illustrate it for you:

Node - color #ccc
   NodeChild - color #abc
   NodeChild - color #xyz
   NodeChild - color #abc
Node - color #ccc
   NodeChild - color #abc
   NodeChild - color #ccc
      Leaf - color #abc
      Leaf - color #xyz
      Leaf - color #abc
   NodeChild - color #xyz (this color should be the alternate of the one above it.)

My question is how can i achieve this? I have been looking though a ton of the documentation and a bunch of the forum posts already. I have not found anything that would solve this problem for me.

Another problem I have is that the color does not span all the way across (only goes out as far as the text goes) for the nodes that I have the background color applied. This tree will be created dynamically so I cant go in there and format it the way I want from the get go.

No answers yet. Maybe you can help?

Tags
TreeView
Asked by
Mustafa Hussain
Top achievements
Rank 1
Share this question
or