View Full Version : how to remove folder icon in tree grid
3 Jan 2012, 4:59 AM
How to remove folder icon in tree grid. All the hierarchy should display only names.
4 Jan 2012, 5:08 AM
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...
4 Jan 2012, 9:31 AM
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.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.