View Full Version : Custom text for TreeGridCellRender
30 Jul 2009, 5:48 AM
I want the TreeGridCellRenderer to return custom HTML in its render function. This HTML is not necessarily set in the underlying model. I've tried extending the TreeGridCellRender and duplicating the same code for the body of render except for the text to be used, but I do not have access to all of the methods used. I could use the WidgetTreeGridCellRenderer to do this, but I would have to return a widget. I think this is too heavy weight for my needs. Is there an alternative to this?
Moved this to the correct forum.
11 Jun 2010, 6:40 AM
@Pandaman, did you find any good solution to this? I have the same issue where I cannot extend TreeGridCellRenderer due to not having access to certain methods.
If you need access to methods you dont have access to, you could extend TreeGrid and make the methods public, or you could use JSNI to access them
11 Jun 2010, 6:47 AM
Thanks, I will try that out
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.