I am using a VirtualSelectBox instead of a SelectBox and I would like to bind
the selection of the SelectBox to a text field but the following code is not
working.
It says Uncaught TypeError: Object qx.ui.form.VirtualSelectBox[386] has no
method 'getChildren'

Can this be done with VirtualSelectBox?  If use a SelectBox I believe it is
not possible to group the items nicely as in the example
http://demo.qooxdoo.org/current/demobrowser/#virtual~SelectBox.html


     var controller = new qx.data.controller.List(null, selectBox);
     controller.setDelegate({bindItem: function(controller2, item, index) {
        controller2.bindProperty("name.value", "value", null, item, index);
      }});
     controller.setModel(usersData);


--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Loading-data-into-a-SelectBox-tp6344780p6345088.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to