PDA

View Full Version : 2.0-m3 treegrid: programatically set icon leaf?



hstang
16 Jun 2009, 8:04 AM
Hi,

Is it possible to set different icons for different leaf nodes based on some value on the model attributes?

I was looking at the source code and perhaps an iconProvider could be provided but this method isn't public.

sven
16 Jun 2009, 8:10 AM
getter and setter for the iconprovider for TreeGrid will be part of the next release. You can use JSNI for now to set it.