Use CSS. Displaytag automatically asigns the following classes to the <tr> tags.
>From http://displaytag.sourceforge.net/11/tut_style.html: odd - assigned to the tr tag of all odd numbered data rows even - assigned to the tr tag of all even numbered data rows Example: .even { background-color: #CCCCCC; } .odd { background-color: #FFFFFF; } -Kurt sairam1001 wrote: > > I am using display tag first time. i want my table to display in > alternate colors. how to do this. > can anybody help? thanks > -- View this message in context: http://www.nabble.com/display-tag-tf3639295.html#a10182090 Sent from the DisplayTag - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel