Hi

I am trying to set different styles (border, gradient background color,...)
for X different columns in table header cells. I tried a few things, but
nothing worked like I expected. 

1) I created a new decorator "qx.ui.decoration.Decorator". 
*PROS*: I can set as many decorators as I would like to (dynamically). 
*CONS*: I lose the style of the original decorator.
*QUESTION*: Is it possible to copy the original decorator/style when
creating a new "qx.ui.decoration.Decorator"?

2) I tried to create my own appearance and decorator.
*PROS*: The original style is still there.
*CONS*: I don't know how to pass the states/parameters from appearance to
decorator. And I also don't know how to create X number of decorators
dynamically.
*QUESTION*: I it possible to pass parameters from appearance to decorator?

I want to keep the original style and at the same time add the specific
style on X number of header cells (dynamically). It could be 50 different
styles or even more. Is this possible?

Thank you very much for your help!



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Creating-x-number-of-different-decorators-dynamically-tp7587116.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to