我有一个MVC Webgrid,它在两个单独的列中具有编辑和删除操作按钮,如何将这两个按钮放在一起并放在一个列中?
<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>