I have one selectbox, described as:
var list = [{name: "Kansas", id: 1},{name: "Arizona", id: 2}];
var selectBox = new qx.ui.form.SelectBox();
var model = qx.data.marshal.Json.createModel(list);
var controller = new qx.data.controller.List(model, selectBox, "name");
I want to select an item in selectbox, for example with id=2. Should I use
setModelSelection method?
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/How-to-select-an-item-in-selectbox-tp5029330p5029330.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel