Hello , i use a virtual selectbox, like below, but how can i add some
data like the setUserData to a entry , and how can i add the data after
the widgetcreation?
getProduktSelectbox : function() {
var rawData = [];
for (var i = 0; i < 1000; i++) {
rawData.push({
label: "name"+i,
ID: "id"
});
}
var model = qx.data.marshal.Json.createModel(rawData);
var widget = new qx.ui.form.VirtualSelectBox(model).set({
labelPath: "label"
});
return widget;
},
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel