or
<div> @(Html.Kendo.Grid(Of Venable.KMVC.ClientPortfolio.ADRServiceReference.Activity)() _ .Name("clientActivityYear") _ .Events(Sub(e) e.DataBound("onDataBound").Change("onChange") End Sub) _ .Columns(Sub(c) c.Bound(Function(p) p.Year).FooterTemplate("LTD") c.Bound(Function(p) p.WorkedActivity).Title("Worked").HtmlAttributes(New With {.style = "text-align: right"}).ClientFooterTemplate("#=sum#") c.Bound(Function(p) p.BilledActivity).Title("Billed").HtmlAttributes(New With {.style = "text-align: right"}) c.Bound(Function(p) p.CollectedActivity).Title("Collected").HtmlAttributes(New With {.style = "text-align: right"}) End Sub) _ .Selectable(Function(selectable) selectable.Mode(GridSelectionMode.Single)) _ .Scrollable() _ .DataSource(Sub(d) d.Ajax().ServerOperation(False).Aggregates(Sub(aggregates) aggregates.Add(Function(p) p.WorkedActivity).Sum() aggregates.Add(Function(p) p.BilledActivity).Sum() aggregates.Add(Function(p) p.CollectedActivity).Sum() End Sub) _ .Read(Function(read) read.Action("ActivityRead", "Home").Data("addData")) End Sub) )</div>{ command: { text: "Download PDF", click: downloadPdf }, title: " ", width: "115px" }{ command: { text: "Download PDF", click: downloadPdf }, title: " ", width: "115px", imageClass: "k-icon k-i-pencil" }