How can I extend this List template razor delegate example that Phil Haack mentions here, so that I can provide an alternate row css class?
http://haacked.com/archive/2011/02/27/templated-razor-delegates.aspx
I would like to do something similar to this:
@comics.List(
@< tr class="@odd">
< td>@item.Title< /td>
< td>@item.Publisher< /td>
)
Edit: I don't need a javascript or css solution. I need to be able to support older browsers and browsers that may have javascript disabled.