I have added a listener to the list but now I am unsure how to get the index
of the newly selected item from within the call back function. In the
callback function I also want to access the JSON store in the callback so I
passed a reference to it so it can be used as "this" in the callback
function.
myList.getSelection().addListener("change",myCallBack,myStore);
Simon
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/How-to-Get-the-Selection-Index-from-a-List-tp7197816p7197816.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