Hi,
I'm using a
this.tableQX = new qx.ui.table.Table(this.tableModel);
in some columns it contains icons, declared with
qx.ui.table.cellrenderer.Image(width, height)
On table loading (inside a qx.ui.window.Window), the icons are not
displayed.
As soon as I click on a column label for sorting, the icons are
suddenly visible.
I have tried hard to help the table a bit like this:
var tableModel = this.tableModel;
var tableQX = this.tableQX;
// dummy code trying to trigger refresh: no success
qx.event.Timer.once(function(e) {
// intermediate sorting
tableModel.sortByColumn(0, true);
tableModel.sortByColumn(col, !ascending);
tableQX.updateAppearance();
tableModel.clearSorting();
},this,50);
qx.event.Timer.once(function(e) {
// wanted sorting
tableModel.sortByColumn(col, ascending);
tableQX.updateAppearance();
},this,1000);
but nothing helps, only the above mentioned mouse click displays the
icons properly.
Any suggestion?
Thanks
Marcel
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel