Hi All,
In one of my views I have the following:
This works ok, but what I really want to do is on alternate rows, change the class of my <tr> element, any ideas how I do this at this level.Code:<tbody> @foreach (GRID.ViewModels.FrozenFoodsRiskViewModel risk in Model) { <tr class="t-master-row"> <td>@risk.Description</td> <td>@risk.Rate</td> <td>@risk.AgeDiscount</td> <td>@risk.SumInsured</td> <td class="t-last">@risk.TechnicalPrice</td> </tr> } </tbody>


Reply With Quote
