Results 1 to 3 of 3

Thread: how to remove folder icon in tree grid

  1. #1
    Sencha User
    Join Date
    Apr 2011
    Posts
    43
    Vote Rating
    0
      0  

    Default 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 Attached Files

  2. #2
    Sencha User PhiLho's Avatar
    Join Date
    Nov 2011
    Location
    Near Paris, France
    Posts
    140
    Answers
    2
    Vote Rating
    1
      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 User
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,737
    Answers
    109
    Vote Rating
    93
      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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •