У меня есть веб-сетка MVC, в которой есть кнопки редактирования и удаления в двух отдельных столбцах. Как объединить эти две кнопки в один столбец?
<div>
@wg.GetHtml(tableStyle:="table table-bordered table-hover", mode:=WebGridPagerModes.All,
htmlAttributes:=New With {.id = "wg1", .class = "Grid"},
firstText:="<<",
lastText:=">>",
footerStyle:="table-pager",
columns:=wg.Columns(wg.Column("Name", "عنوان"),
wg.Column(format:=Function(item) Html.ActionLink(" Edit ", "BrandEdit", New With {.id = item.id}, htmlAttributes:=New With {.class = "glyphicon glyphicon-edit btn btn-success btn-sm"})),
wg.Column(format:=Function(item) Html.ActionLink(" Delete ", "BrandDelete", New With {.id = item.id}, htmlAttributes:=New With {.class = "glyphicon glyphicon-remove btn btn-danger btn-sm"}))))
</div>