I need to get column data for Home column. I'm trying to add button and class to the column as below and it is not working
Main View:
@Html.Grid(Model).Columns(columns =>
{
columns.Add(c => c.Home).Titled("Home").Sanitized(false).Encoded(false)
.RenderValueAs(data => "<button type='button' class="btn - link ind redText" </button>");
columns.Add(c => c.UserName).Titled("UserName").SetWidth(20);
columns.Add(c => c.Address).Titled("Address").SetWidth(20);
columns.Add(c => c.Phone).Titled("Phone").SetWidth(20);
}).WithPaging(8);
Please let me know how to add class and button type to column in grid.mvc