Hi,

I found the reason, the demo as a small bug. The demo didn't bind the list
model item with the CheckBox model. Just replace the delegate with this:
var delegate = {
  configureItem : function(item) {
    item.setPadding(3);
  },
  createItem : function() {
    return new qx.ui.form.CheckBox();
  },
  bindItem : function(controller, item, id) {
    controller.bindProperty("", "model", null, item, id);
    controller.bindProperty("name", "label", null, item, id);
    controller.bindProperty("online", "value", null, item, id);
    controller.bindPropertyReverse("online", "value", null, item, id);
  }
};

Here a playground example:
http://tinyurl.com/nl2t2q3

Cheers,
Chris




--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/list-of-checkboxes-returns-to-top-on-first-selection-tp7586110p7586111.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to