Hello,
I'm relativley new to EXT GWT and at the moment I'm struggeling with setting an icon for the leafs of a TreeGrid. My code looks for setting an icon like this:
Code:
TreeGrid<...> tree = new TreeGrid<...>(...);
tree.getStyle().setLeafIcon(IconHelper.create("icon"));
My question is how can I tell my application where "icon" is?
The following code works fine (still is nonsene). My leaf icon becomes a the same icon a closed node has
Code:
tree.getStyle().setLeafIcon((tree.getStyle().getNodeCloseIcon()));
What I want to now is, what do I need to configure to use additional icosn. Are there any resources provided by EXT GWT which I can include, if yes how can I do that?
I would really appreciate some help.
Regards,
Stephan