add row in webgrid
I'm working with MVC 3 webgrid and i need to add a new row into webgrid to show sum of price from product table. Any ideas are appreciated. Here's my code @{ WebGrid grid = new WebGrid(source: Model, rowsPerPage: 3, canSort: true, canPage: true, ajaxUpdateContainerId: "ajaxgrid"); @grid.GetHtml( alternatingRowStyle: "altrow", mode: WebGridPagerModes.All, firstText: "<< ", previousText: "< ", nextText: " >", lastText: " >>", columns: grid.Columns( grid.Column(format: (item) => new HtmlString(Html.ActionLink("Edit", "Edit", new { id = item.ProductId }).ToString() + " | " + Html.ActionLink(