JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://cdn.kendostatic.com/2012.2.710/js/kendo.all.min.js"></script>
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.2.710/styles/kendo.common.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.2.710/styles/kendo.default.min.css">
<div id="grid"></div>

JavaScript

var grid = $("#grid").kendoGrid({
    dataSource: {
        data: [
            {foo: 10, bar: "A"},
            {foo: 20, bar: "B"},
            {foo: 5, bar: "B"},
            {foo: 35, bar: "A"}
        ],
        schema: {
            model: {
                fields: {
                    foo: { type: "number" },
                    bar: { type: "string" }
                }
            }                
        }
    },
    groupable: true,
    columns: [
        {
            field: "foo",
            aggregates: ["sum", "average"],
            groupFooterTemplate: "Sum: #= sum # || Average: #= average #"
        },
        "bar"    
    ]   
}).data("kendoGrid");