Hi All, I have a requirement to add a gwt celltree inside of a celltable column.I was successful in adding the celltree inside the celltable column by creating a custom cell. But the problem I am facing is that the celltree is not recognizing events once it is inside the celltable.When I click on the expand or collapse icons of the celltree it is not responding. Can you please help me?
Please find below the code for my custom cell which renders the cell tree inside of my cell table: public class TreeCellRenderer extends AbstractCell<CellTree> { @Override public void render(com.google.gwt.cell.client.Cell.Context context, CellTree value, SafeHtmlBuilder sb) { sb.append(SafeHtmlUtils.fromTrustedString(value.getElement().getInnerHTML())); } } //To add the cell tree inside celltable column Column<XYZ, CellTree> column = new Column<XYZ, CellTree>(new TreeCellRenderer ()) { @Override public CellTree getValue(XYZ object) { CellTree tree = new CellTree(model,null, res); return cellTree; } }; } celltable.addColumn(column); Please let me know whether this is correct and what code should I need to add to make the cell tree respond to expand/collapse events inside the celltable. Appreciate your help in this. Thanks in advance, -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.