如果用户可以在此图像上添加新项目,我想添加一个页脚行。 我正在使用 Vyacheslav Bukharin 的 gid.MVC。正如您在本教程中看到的那样https://www.c-sharpcorner.com/UploadFile/4d9083/creating-simple-grid-in-mvc-using-grid-mvc/
到目前为止,这是我的代码
@Html.Grid(Model).Columns(columns =>
{
columns.Add(c => c.cliente_id).Titled("Cliente ID");
columns.Add(c => c.nombre_cliente).Titled("Cliente name");
columns.Add()
.Filterable(false)
.Encoded(false)
.Sanitized(false)
.SetWidth(30)
.RenderValueAs(o => Html.ActionLink("Edit", "Edit", new { id = o.cliente_id }));
columns.Add()
.Encoded(false)
.Sanitized(false)
.SetWidth(30)
.RenderValueAs(o => Html.ActionLink("Delete", "Delete", new { id = o.cliente_id }));
}).WithPaging(10).Sortable(true).Filterable(true).WithMultipleFilters()
我的问题是如何在 mvc 中添加与图像相同的页脚。谢谢您的帮助