I would like to use an If Then conditional statement with the MvcContrib Grid for a cell. If the condtion is met then the whole grid line should be crossed with an attribute line-through.
I have gone to mvccontib and codeplex and read all, but the only thing I found was either a columncondition or cellcondition, which is good if I were interested in only this particular cell: like column.For(x => x.Status).CellCondition(x => x.Status == “CONV CXLED”).Attributes(x => new Hash(style => “text-decoration:line-through”));
But what I want is more like what I wrote bellow:
if “condition is met” { do something/// } Else { Do something else } also I want to alternate color for each row but still use sort. Is that possible? If so, then how?