Hello,

what you suggested set selection based on the item number and that's great
step forward for me. But can I search the model for the item where field
number 0 equals certain value. Exp: field number zero in the array equals 3,
get the index idx of that item and then set it as current selection.


idx = /*search for the item where first field equal 3 for example (look at
the json array)*/

/*now set it as current selection*/
vlistBox.getSelection().push(model.getItem(idx));

--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Changing-selection-in-VirtualSelectBox-tp6372901p6373370.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to