Hi,

You may specify the css class for the whole table.

<display:table class='myClass'>
</display:table>

<display:table class='myClass2'>
</display:table>

You may duplicate the default displaytag.css and give a name to the css
class coresponding to table.

For changing the colors of the rows check the odd and even classes.

The rest is just playing with the css.

Cheers,
Narcis

2009/6/19 Edward King <zhan...@neusoft.com>

>  I want to show two different table by using displaytag, because I want to
> show one table in one environment,and show another table in another
> environment,for example
>
> show first table,first line is white color background,the second line is
> yellow background,and the third line is white background
> Kate    16   25
> John    25   30
> Peter   20   15
>
> show second table,it's all line are white color background.
>  42109   Diam  Ipsum    diam-ip...@eirmod.com
> 41756   Elitr  Sed     elitr-...@eirmod.com
>
> How to realize above function? A example is better.
>
> Thanks
>
>
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and any 
> accompanying attachment(s)
> is intended only for the use of the intended recipient and may be 
> confidential and/or privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
> this communication is
> not the intended recipient, unauthorized use, forwarding, printing,  storing, 
> disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this 
> communication in error,please
> immediately notify the sender by return e-mail, and delete the original 
> message and all copies from
> your system. Thank you.
> ---------------------------------------------------------------------------------------------------
>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to