View Full Version : HTML links for (Widget)TreeGridCellRenderer

30 Jul 2009, 6:51 PM
How do you render links correctly using WidgetTreeGridCellRenderer? I do not want to set the underlying data model's value to the html for the link and use TreeGridCellRenderer for the property I am using.

I've tried returning the HTML widget that contains the html for the link for WidgetTreeGridCellRenderer.getWidget, but this renders weirdly and incorrectly. Right now I have to encapsulate the HTML widget in a container, and then return the container. This is not ideal.

4 Aug 2009, 9:11 AM
The solution is to use com.extjs.gxt.ui.client.widget.Html instead of com.google.gwt.user.client.ui.HTML.