or
<script id="rowTemplate" type="text/x-kendo-tmpl"> <tr> <td> </td> <td> #: Portfolio # </td> <td> #: Folder # </td> <td> #: FileName # </td> <td> #: DocumentType # </td> <td> #: ActionTime # </td> <td> #: UserName # </td> <td> #: CompanyName # </td> <td> <img src="Images/downloaded_#:data.Downloaded#.png" alt="downloaded_#:data.Downloaded#.png" /> </td> </tr></script>var dataSource = new kendo.data.DataSource( { schema: { model: { fields: { ... (some other fields) DocumentType: { type: "string" }, CompanyName: { type: "string" }, Downloaded: { type: "number" } } } }, pageSize: 200, group: { field: "CompanyName", aggregates: [ { field: "CompanyName", aggregate: "count" }, { field: "DocumentType", aggregate: "count" }, ] }, aggregate: [{ field: "CompanyName", aggregate: "count" }, { field: "DocumentType", aggregate: "count" }, { field: "Downloaded", aggregate: "sum" }, ] }); ... (some other configurations) dataSource: dataSource, columns: [ ... (some other fields) { field: "DocumentType", title: "Document Type", width: "80px" }, { field: "CompanyName", title: "Company Name", width: "100px" , aggregates: ["count"] , groupHeaderTemplate: "Company Name: #=value# (#=getDownloaded(data)# / #=count#)" }, { field: "Downloaded", title: "Downloaded", width: "50px" }, ], sortable: true, filterable: true, selectable: true, pageable: { refresh: false, pageSizes: [10, 20, 50, 100, 200], // true, buttonCount: 5 }, scrollable: false, rowTemplate: $.proxy(kendo.template($("#rowTemplate").html()), dataSource),});$(document).ready(function () { $("#grid").kendoGrid({ dataSource: { type: "json", transport: { read: "GetData" }, group: [{ field: "Campaign_Desc", aggregates: [ { field: "Campaign_Desc", aggregate: "count" }, { field: "AmountReceived", aggregate: "sum" }, ] }], aggregate: [ { field: "Campaign_Desc", aggregate: "count" }, { field: "AmountReceived", aggregate: "sum" }, ] }, columns: [ { field: "DonorName", title: "Donor" }, { field: "DateReceived", title: "Date" }, { field: "ReceiptNbr", title: "Rcpt #" }, { field: "AmountReceived", title: "Amount", footerTemplate: "Total: #=sum#", groupFooterTemplate: "Total: #=sum#" }, { field: "Campaign_Desc", title: "Campaign", footerTemplate: "Total Count: #=count#", groupHeaderTemplate: "<b>#= value #</b> - Count: #=count#" }, { field: "Source_Desc", title: "Source" }, { field: "TenderType_Desc", title: "Tender" }, { field: "CheckNumber", title: "Check #" }, { field: "GLBatchNumber", title: "Batch" } ], scrollable: false, sortable: true, filterable: true }); });