Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

treeview

Status
Not open for further replies.

gd082

Programmer
Mar 12, 2002
42
0
0
BE
Is it possible to use something like header1, header2, ... (as in Word), or set the colors, font, ... in a treeview you made dynamically?

I tried to use the CSS-styles, but it's not working. After this I tried to change the colors, ... in the code, but this isn't working either...
 
With defaultstyle I managed to change the color and the font-weight, but if I try to set the font-name to verdana, nothing happens.

DEFAULTSTYLE="font-name:Verdana;color:navy"

I don't think there's a mistake in this, anyone with the same problem? Or with a solution?
 
Ok, sorry 4 asking, I think I fixed it :

DEFAULTSTYLE="font-family:Verdana,Helvetica;font-size:xx-small;font-weight:bold;color:navy"


Still have a question though : is it possible to use "headers" (different styles for the nodes) ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top