PDA

View Full Version : leafs of TreePanel with different custom icons. How to?



F43RY
11 Sep 2009, 5:28 AM
Hi everyone,
I'm driving crazy to set a different custom Icons on leafs of a TreePanel. I can't find the way to set them.:((
Can someone help me showing an example?
I'm using GXT 2.0.1 and GWT 1.7.

Thx in advance.

sven
11 Sep 2009, 5:36 AM
You can use the ModelIconProvider for this.

F43RY
11 Sep 2009, 5:44 AM
thx very much,
finally just found an example in "Async Tree". :D