Hi all,
there is an issue regarding the performance of a table on a resize
event.
If you define a table having lots of columns you even will be able "to
see" this issue, so you don´t have to profile the application.
Here is a snippet to reproduce the issue. You can modify the variable
"noOfCols" to clarify the behavior.
To force a resize event just resize your main browser window/tab.
----------------------------
var tableModel = new qx.ui.table.model.Simple();
var noOfCols = 200;
var noOfRows = 50;
var columns = [];
var iColIdx = 0;
for (iColIdx = 0; iColIdx < noOfCols; iColIdx++) {
columns.push("Column Id " + iColIdx);
}
tableModel.setColumns(columns);
var rowData = [];
var currRow = null;
for (var iRowIdx = 0; iRowIdx < noOfRows; iRowIdx++) {
currRow = [iRowIdx];
for (var iColIdx = 1; iColIdx < noOfCols; iColIdx++) {
currRow.push(Math.random() * 10000);
}
rowData.push(currRow);
}
tableModel.setData(rowData);
var table = new qx.ui.table.Table(tableModel);
this.getRoot().add(table, {left: 200, top: 200, right: 200,
bottom: 200});
table.setMetaColumnCounts([1, -1]);
----------------------------
Actually...I do not really know, what the problem is, because you can
observe the delay after a resize only with FF 3.x. With Safari/Chrome
the performance is great. So maybe it´s just because of their faster js-
or rendering-engines ? I could not test IE because of some other
reasons. :)
BTW:We are using qooxdoo 1.2.
Do you have any ideas ?
Thanks and best regards,
Rob.
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel