Hi,
You can also just use the indexOf method which is not as expensive because it 
relies on the native indexOf if available.
Regards,
Martin

Am 18.01.2012 um 15:29 schrieb dcipher:

> Yes I can just cycle through the array but that does seem like an inefficient
> way to find to index especillay if there are thousands of items.  Perhaps I
> could make a suggestion that the selection array also include the index for
> each selected item.
> 
> Simon
> 
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/How-to-Get-the-Selection-Index-from-a-List-tp7197816p7200282.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to