Hi Ian,

thanks for your answer. I have already found those classes and functions 
but I'm still not sure if this is what I'm looking for. I hoped that 
there was an easier way than writing a new row renderer, since I only 
need to change the color of a single row (or, at least, only a few 
rows). But if there is no easier way - can I achieve this by writing a 
new rowrenderer and change that at runtime? Do you know if would be 
possible to keep the right rows marked when the table gets sorted (i.e., 
can I make the color of the rows dependent on their ID numbers)?

Thanks,

Michael

Ian Horst schrieb:
> Hi Michael,
>
> Check source & API of 
> http://demo.qooxdoo.org/current/apiviewer/#qx.ui.table.IRowRenderer & 
> http://demo.qooxdoo.org/current/apiviewer/#qx.ui.table.rowrenderer.Default 
> . You can make your custom row renderer and set table row renderer by 
> property
> http://demo.qooxdoo.org/current/apiviewer/#qx.ui.table.Table~dataRowRenderer
>
> You can attach records of modified rows to raw data in any subclass of 
> http://demo.qooxdoo.org/current/apiviewer/#qx.ui.table.model.Abstract .
>
> Ian Horst
>
> Michael Helwig wrote:
>   
>> Hi,
>> is there a way to change the style of a specific table row at runtime? 
>> I'd like to mark rows where the user entered new data, e.g. by 
>> changing its color, but I cannot figure out how to to this. I do not 
>> really understand where the row colors are defined and how that can be 
>> changed (at runtime). Could anybody give me a hint how to do that, if 
>> it is possible?
>> Thanks in advance,
>>
>> Michael
>>
>>
>> ------------------------------------------------------------------------------
>> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
>> is a gathering of tech-side developers & brand creativity professionals. Meet
>> the minds behind Google Creative Lab, Visual Complexity, Processing, & 
>> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
>> Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>     
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, & 
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>   


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to