It took me a while to figure out how to use HTML in table cells. I found one Hint that told me to overwrite DefaultDataCellRenderer. Unfortunately this shows HTML (eg. for links or colors) only after resizing table, otherwise it is ecaped. Later I found the solution here in the forum: You have to overwrite AbstractDataCellRenderer. So, here is the solution:
qx.OO.defineClass("myProject.myDataCellRenderer", qx.ui.table.AbstractDataCellRenderer, function() { qx.ui.table.DefaultDataCellRenderer.call(this); }); qx.Proto._getContentHtml = function(cellInfo) { // return qx.html.String.escape(this._formatValue(cellInfo)); return cellInfo.value; } then you can use your Class myProject/myDataCellRenderer.js in this manner: var table = new qx.ui.table.Table(tableModel); table.getTableColumnModel().setDataCellRenderer(2, new myProject.myDataCellRenderer()); Hope this could be helpful for someone. -- View this message in context: http://www.nabble.com/HTML-in-table-cells-tf3400817.html#a9470338 Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel