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

      0  

    Default Unanswered: how to remove folder icon in tree grid

    Unanswered: how to remove folder icon in tree grid


    Hi,

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

  2. #2
    Sencha User PhiLho's Avatar
    Join Date
    Nov 2011
    Location
    Near Paris, France
    Posts
    140
    Vote Rating
    1
    Answers
    2
    PhiLho is on a distinguished road

      0  

    Exclamation


    That's GXT 2 code, you are in the GXT 3 section, perhaps that's the reason why you hadn't an answer. I jumped directly into GXT 3 code, so I am not competent to answer GXT 2 questions...

  3. #3
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,734
    Vote Rating
    90
    Answers
    109
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Try subclassing TreePanel and override the method calculateIconStyle(M) to return null. According to TreePanelView, it should leave out the icon, though it may still allocate space for it - you'll need to use css to correct that.

Thread Participants: 2