footerTemplate

The template string which will be used for rendering the column footer cell. The template can contain binding expression which will show an aggregate from the datasource.
If the datasource aggreate is a function "{custom}" binding string can be used.
If not specified, the footer cell will be empty. If no one column has such a template the footer row will not be rendered.

$("#grid1").shieldGrid({
    dataSource: {
        data: products,                     
        aggregate: [
            { field: "ProductID", aggregate: "min" },
            { field: "UnitsInStock", aggregate: "average" },
            { field: "UnitsInStock", aggregate: "count" },
            { field: "Discontinued", aggregate: function (data, aggregate) { return "xxx"; } }
        ],
    },          
    columns: [
    "ProductName",
    { field: "ProductID", title: "ProductID", width: "330px", footerTemplate: "Min: {min}" },
    { field: "UnitPrice", title: "Unit Price", format: "{0:c}", width: "130px" },
    { field: "UnitsInStock", title: "Units In Stock", width: "130px", footerTemplate: "Avg: {average}, Count: {count}" },
    { field: "Discontinued", width: "130px", footerTemplate: "Test: {custom}" }
    ]
});