This was a good advice! I didn't see that! I do not like the name
append...

Kent

On Mon, 2006-03-27 at 12:20 +0200, Sebastian Werner wrote:
> I don't know why you need this. You can just operate on the initial 
> array and update it. I think this is enough.
> 
> Just do something like:
> 
> var myView = new QxListView(data, cols);
> 
> data.removeAll();
> data.append(newArrayFromSomeOtherSource);
> 
> myView.update();
> 
> Sebastian
> 
> 
> Jeronimo Milea schrieb:
> > 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=121642
> > _______________________________________________
> > 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=121642
> _______________________________________________
> 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=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to