tablecellrenderer - HTML Cellrenderer Bug -
i trying set rich text in table after event. problem is, html tags recognized after clicked on header or resize table. did little playground example after clicking button data loaded html tags.
you set cell renderer before load data :
var table = new qx.ui.table.table(null); button1.addlistener("execute", function(e) { var tablecolumnmodel = table.gettablecolumnmodel(); tablecolumnmodel.setdatacellrenderer(0, new qx.ui.table.cellrenderer.html()); tablemodel.setdata([["<b>test</b>"],["<i>test</i>"]]); });
here full playground example.
Comments
Post a Comment