Please disregard - no subject. I sent another one with subject.
On Fri, Jul 13, 2012 at 5:51 PM, Scott Chapman <[email protected]> wrote:
> I found a sample of how to set up a VirtualSelectBox which is close to
> what I'm after:
>
> //create the model data
> var rawData = [];
> for (var i = 0; i < 2500; i++) {
> rawData[i] = "Label " + i;
> }
> var model = qx.data.marshal.Json.createModel(rawData);
>
> //create the SelectBox
> var selectBox = new qx.ui.form.VirtualSelectBox(model);
>
> //Pre-Select "Item No 20"
> selectBox.getSelection().push(model.getItem(20));
>
> What I want to do is this:
>
> //create the model data
> var rawData = [];
> for (var i = 0; i < 2500; i++) {
> rawData[i] = [i,"Label " + i];
> }
>
> ... where the first element in the rawData[i] is the value returned by the
> VirtualSelectBox when the form is submitted, and the second value is the
> label displayed in the VSB.
>
> I can't figure out how to do that.
>
> Can someone please enlighten me?
>
> Thanks!
> Scott
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel