Hello,
Here's the solution i'm using :

In java : 
treeNode.setText("" + value + "");

In file myAppli.css I have a class "maClass"
.maClasse{
background: #95D48A ;
color : white;
cursor: pointer;
}




> Message du 08/01/10 09:34
> De : "tulkas85" 
> A : "GWT-Ext Developer Forum" 
> Copie à : 
> Objet : How to set color to TreeNode
>
> Hi, I'm working to gwt-ext TreePanel , I can set label, icon and
> tooltip for my Treenode, but How can I change the color of label text
> or label background for only some nodes ??
> 
> thanks
> >
> [ (pas de nom de fichier) (0.3 Ko) ]

Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net

-- 
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en.


Reply via email to