Bind property to backgroundColor of a virtual tree item

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bind property to backgroundColor of a virtual tree item

woprandi
Hi,

I have a virtual tree and I would want to set background color of a item depending of a model property, it works but item label disappear. Check this example : http://tinyurl.com/oss446w

Anyone can help me ? Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Bind property to backgroundColor of a virtual tree item

Mustafa Sak-5
Hi,

you should call controller.bindDefaultProperties(item, id); to bind default properties. See http://tinyurl.com/p4dykuy

Dank & Gruß
Mustafa Sak
Softwareentwickler
Mail Development
1&1 Mail & Media Development & Technology GmbH | Brauerstraße 48 | 76135 Karlsruhe | Germany
Phone: +49 721 91374-6977
E-Mail: [hidden email] | Web: www.1und1.de


-----Ursprüngliche Nachricht-----
Von: woprandi [mailto:[hidden email]]
Gesendet: Mittwoch, 17. Juni 2015 16:27
An: [hidden email]
Betreff: [qooxdoo-devel] Bind property to backgroundColor of a virtual tree item

Hi,

I have a virtual tree and I would want to set background color of a item depending of a model property, it works but item label disappear. Check this example : http://tinyurl.com/oss446w

Anyone can help me ? Thanks



--
View this message in context: http://qooxdoo.678.n2.nabble.com/Bind-property-to-backgroundColor-of-a-virtual-tree-item-tp7587250.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Bind property to backgroundColor of a virtual tree item

woprandi
Thanks a lot,

I feel the demo browser lacks such examples.