Here's how you do it on qx.mobile.

http://tinyurl.com/h2eqtrq

Derrell


On Tue, Mar 29, 2016 at 9:54 AM Norbert Schroeder <n.schroe...@scro34.de>
wrote:

> Ah, you're on qx.mobile, I assumed qx.desktop (qx.ui.form.list). Can't
> help you there, I'm entirely immobile.
>
> Regards,
>
>   Norbert
>
>
> Tomás Antunes schrieb am 29.03.2016 15:39:
>
> > All right here is the demo http://tinyurl.com/jqc5a5w <
> http://tinyurl.com/jqc5a5w>
> >
> >
> > Still getting error.
> >
> >
> > On Tue, Mar 29, 2016 at 1:23 PM, Norbert Schroeder <
> n.schroe...@scro34.de <mailto:n.schroe...@scro34.de> > wrote:
> >> The variable "selection" in your example is an array with all selected
> list items, i.e. selection[0] gives you the first selected item.
> >>
> >> Regards,
> >>
> >>   Norbert
> >>
> >>
> >> Tomás Antunes schrieb am 29.03.2016 14:00:
> >>
> >> > How do I access a list item in this event?
> >> >
> >> >
> >> >      self.myList.addListener("changeSelection", function(e) {
> >> >
> >> >         var selection = e.getData();
> >> >
> >> >         console.log(self.myList.getSelection()[selection]);
> >> >
> >> >       }, this);
> >> >
> >> >
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Transform Data into Opportunity.
> >> Accelerate data analysis in your applications with
> >> Intel Data Analytics Acceleration Library.
> >> Click to learn more.
> >> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 <
> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140>
> >> _______________________________________________
> >> qooxdoo-devel mailing list
> >> qooxdoo-devel@lists.sourceforge.net <mailto:
> qooxdoo-devel@lists.sourceforge.net>
> >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel <
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel>
> >
> >
>
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to