Try the following example, assuming you have a property that you want to highlight, for example:
public bool IsImportant { get; set; }
Go to your view using the grid, and then add this to the end:
@Html.Grid(Model).Columns(columns =>
{
}).WithPaging(10).SetRowCssClasses(item => item.IsImportant ? "important" : string.Empty)
, - :
tr.important {
background-color:rgba(205, 92, 92, 0.5) !important; //indian red with opacity set to 50%
}
, !important .
, , .RowAttributes