1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    2
    Vote Rating
    0
    donstephano is on a distinguished road

      0  

    Default Unanswered: Set TreeGrid leaf icon

    Unanswered: Set TreeGrid leaf icon


    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

  2. #2
    Sencha User
    Join Date
    Jan 2012
    Posts
    2
    Vote Rating
    0
    donstephano is on a distinguished road

      0  

    Default


    Finally I found a solution to access images and use them as icon.

    I implemented a Interface which exetends ClientBundle.
    Then by using GWT.create for creating an instance of the classe it is possible to access the image and use it as icon.

    http://code.google.com/p/google-web-...i/ClientBundle

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar