Here's one solution:

CSS:

.myRowClass:hover, .myRowClass:nth-child(even):hover {

        background-color: #DCE5FF;
}

.myRowClass:nth-child(even) {
    background-color: #E8E8E8;
}


TML:

<t:grid ...

            rowClass="literal:myRowClass">


On Tue, Aug 9, 2011 at 06:14, TG <tapestry...@hotmail.com> wrote:

> What is the simplest way to do this without writing any codes but maybe
> just
> css3?
>
> Thanks.
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Zebra-Grid-in-Tapestry-5-2-6-tp4680461p4680461.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com

Reply via email to