1. #1
    Sencha User
    Join Date
    Apr 2011
    Posts
    43
    Vote Rating
    0
    pk.hafeez is on a distinguished road

      0  

    Default How to remove folder icon in tree grid

    How to remove folder icon in tree grid


    How to remove folder icon in tree grid. All the hierarchy should display only names.
    Attached Files

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Nov 2010
    Posts
    209
    Vote Rating
    -2
    Ersmarker has a little shameless behaviour in the past

      0  

    Default


    You can use
    tree.getStyle().setNodeCloseIcon(AbstractImagePrototype)
    tree.getStyle().setNodeOpenIcon(AbstractImagePrototype)
    to set the folder icon. Null will remvoe the icon

  3. #3
    Sencha User
    Join Date
    Apr 2011
    Posts
    43
    Vote Rating
    0
    pk.hafeez is on a distinguished road

      0  

    Default


    Thanks ! That works !

  4. #4
    Sencha User
    Join Date
    Jul 2013
    Posts
    4
    Vote Rating
    0
    admin_dpop is on a distinguished road

      0  

    Default


    null is not working for me. But other image works.

  5. #5
    Sencha Premium Member
    Join Date
    Sep 2013
    Posts
    2
    Vote Rating
    0
    acichocki is on a distinguished road

      0  

    Default


    I tried setting the following (in a TreeGrid):

    Code:
    tree.getStyle().setNodeCloseIcon(null);
    tree.getStyle().setNodeOpenIcon(null);
    tree.getStyle().setLeafIcon(null);
    but the default folder icon is still there. I am using GXT 3.0.6 -- any hint?

  6. #6
    Sencha User
    Join Date
    Aug 2008
    Location
    Maryland
    Posts
    20
    Vote Rating
    0
    mstguy01 is on a distinguished road

      0  

    Default


    I encountered the same thing on GXT 3.0.1. I set the node open/close icons to a 1x1 image (clear.gif that comes with GXT). It is essentially hidden now.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi