Hi Everyone,
I'm sure there is a bug in qx.ui.virtual.layer.WidgetCell.
I'm creating a two-way virtual grid based on List, I don't think I can
provide you a testcase because it's quite a lot of irrelevant code. I
just want you to take a look at the qx.ui.virtual.layer.WidgetCell,
maybe I'll convince you that there is a bug...
If you look at the "_updateLayerWindow" you will notice that it has
"widgetsToMove" collection which contains items from a previous
render. Later there is a code:
var item =
widgetsToMove[row][column] ||
cellProvider.getCellWidget(row, column) ||
this._getSpacer();
And if an item happens to be found in the widgetsToMove collection, it
doesn't get re-bound to its model.
I think it should explicitly re-bind the widget to its new model, if it
was taken from widgetsToMove. That's what I'm already doing in my code.
Thanks
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel