class mydatatable extends datatable {
protected Item newRowItem(String id, int index, IModel model)
{
return new OddEvenItem(id, index, model);
}
}
tr.even { background-color:yellow; }
tr.odd { background-color:white; }
-igor
On 4/18/07, craigdd <[EMAIL PROTECTED]> wrote:
What is the best way to add alternating back ground colors, or CSS styles
to
<tr>s when using the DataTable extension object?
--
View this message in context:
http://www.nabble.com/DataTable-alternating-tr-background-colors-tf3604301.html#a10069961
Sent from the Wicket - User 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/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
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/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user