Hi

Use Grid's rowClass parameter

public String getRowClass(){
   return amount < 0 ? redColoredClass : greenColoredClass;
}

regards
Taha


On Nov 5, 2012, at 6:03 PM, membersound wrote:

> Hi,
> 
> how can I apply simple coloring for a grid row text? Let's say an amount
> that should be green (+) or red (-)?
> 
> Thanks
> 
> 
> 
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Quick-coloring-for-grid-rows-text-tp5717652.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to