Hello Kent,

It has been tested, resizing and rendering works fine it is just like
reset the ListView coz the call to "update()" actually calls the
updateRendering method of the ListViewPane wich, indeed, restarts the grid with the new data thats why i was thinking
if its not better to have the function in ListViewPane and wrap
it in ListView.

This is good, but has it been thoroughly tested? Does it work when
resizing? What about rendering?

Kent

On Thu, 2006-03-23 at 13:38 +0000, Jeronimo Milea wrote:

Hi ppl i added a method to set the data of a QxListView without
having to reconstruct it it is a very simple method and is working
fine for i'm jus not sure about implementing it directly in
QxListView or QxListViewPane and wrap it in QxListView.

----------------------
Index: QxListView.js
===================================================================
--- QxListView.js       (revision 2728)
+++ QxListView.js       (working copy)
@@ -153,6 +153,12 @@
return this._data;
};
+proto.setData = function(vData) {
+    this._data = vData;
+    this._pane._data = vData;
+    this.update();
+};
+
proto.getColumns = function() {
return this._columns;
};
---------------------
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121
642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=1216
42





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to