Hello,
I try to get the one selected item from List.
var list = new qx.ui.form.List(false);
for(var i=0; i < arrayData.length; i++){
item = new qx.ui.form.ListItem("No. " + arrayData[i], null, arrayData[i]);
list.add(item);
And this code return "qx.ui.form.ListItem[695-0]":
if(list.isSelectionEmpty()){
alert("No item has been selected!");
} else {
alert(list.getSelection());
}
Please, how to get a one selected item (its value or string label)?
Thanks,
JaromÃr.
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Method-to-get-selected-ListItem-tp7585508.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees_APR
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel