How can I change the action links in this webgrid into images? ps: I want all the images to appear in the same column
@{
var grid = new WebGrid(Model, canPage:true ,canSort:true, rowsPerPage :6);
grid.Pager(WebGridPagerModes.NextPrevious);
@grid.GetHtml(tableStyle: "webGrid", htmlAttributes: new { id = "datatable" },
headerStyle: "Header",
alternatingRowStyle: "alt",
columns: grid.Columns(grid.Column(header: "", format: (item) =>
new HtmlString(
Html.ActionLink("Détails", "Details", new { id = item.id_client }).ToString() +
Html.ActionLink("Modifier", "Edit", new { id = item.id_client }).ToString() +
Html.ActionLink("Supprimer", "Delete", new { id = item.id_client }).ToString()
)),
grid.Column("Nom"),
grid.Column("Prenom", "Prénom"),
grid.Column("Email")));
}
I've solved this using css classes
And here are the css classes