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 gridData = [
{
'Name': 'Bruce Wayne',
'GroupId': '1'
},
{
'Name': 'Clark Kent',
'GroupId': '1'
},
{
'Name': 'Lois Lane',
'GroupId': '2'
}
];
$(document).ready(function() {
$("#grid").kendoGrid({
dataSource: {
data: gridData,
group: { field: 'GroupId' }
},
groupable: true,
columns: [
{
field: "Name",
},
{
field: "GroupId",
title: "Group",
values: [{ value: 1, text: 'Super Hero' }, { value: 2, text: 'Human' }]
}
]
});
});