Hi Jean-Noël,

sure, you can use the delegate:
var delegate = {
   configureItem : function(item) {
    item.setAppearance("myAppearance");
   }
}
http://demo.qooxdoo.org/current/apiviewer/#qx.ui.list.core.IListDelegate~configureItem
 
<http://demo.qooxdoo.org/current/apiviewer/#qx.ui.list.core.IListDelegate%7EconfigureItem>

Cheers,
Chris

Am 12.10.2011 15:58, schrieb Jean-Noël Rivasseau:
> Hi everyone,
> I have a List that is databinded to a model. I can theme the List by
> calling .setAppearance("MyListAppearance") on it, but I can't do the
> same for each ListItem because they are created not by me but by the
> databinding, and they take the default "listitem" appearance.
> Does anyone know how to do this without listening to every change in
> the model and calling .setAppearance("MyListItemAppearance") on all
> ListItem each and everytime?
> There should be a way to change the default appearance of all
> listitems of a given list but I can't find it.
> Thanks in advance,
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2d-oct
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to