HI ive got the following grid made with kendo UI.
But how can I get the totals ? like shown in the picture below ?

here is my kendo Grid :
- class="row">class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
Organisatiebreed
- @(Html.Kendo().Grid
() - .HtmlAttributes(new { @class = "table-responsive" })
- .Name("OrderLinesGrid")
- .Selectable(s => s.Enabled(false))
- .Reorderable(r => r.Columns(false))
- .Resizable(r => r.Columns(true))
- .Scrollable(s => s.Height("auto").Enabled(false))
- .Sortable(s => s.Enabled(false))
- .Pageable(p => p.Enabled(false))
- .Filterable(f => f.Enabled(false))
- .BindTo(Model.OrderLines.Where(x => x.LocationCode == null))
- .Columns(columns =>
- {
- columns
- .Bound(c => c.NrOfUnits);
- columns
- .Bound(c => c.ProductCode);
- columns
- .Bound(c => c.Description);
- columns
- .Bound(c => c.NrcPerUnit)
- .Template(f => string.Format("
€ {0:n2}", f.NrcPerUnit));- columns
- .Template(f => string.Format("
€ {0:n2}", f.NrOfUnits * f.NrcPerUnit))- .Title("Totaal");
- columns
- .Bound(c => c.MrcPerUnit)
- .Template(f => string.Format("
€ {0:n2}", f.MrcPerUnit));- columns
- .Template(f => string.Format("
€ {0:n2}", f.NrOfUnits * f.MrcPerUnit))- .Title("Totaal p/m");
- })
- )
thnks guys
Vinay SinghPosted Jul 7, 2016, 5:21 AM