On Tue, 30 Mar 2010 11:28:38 -0300, Stephan Windmüller <stephan.windmuel...@cs.tu-dortmund.de> wrote:

Hi!

Hi!

Is it possible to change the class of a grid cell (not just the row or column) based on the value of the property?

Yes! Just use the rowClass parameter.

For example I want to display all cells with the String "Correct" green and those with "Incorrect" in red.

Something like this:

<table t:type="Grid" t:rowClass="rowClass">

public String getRowClass() {
        ...
}

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to