JSFiddle - React, Tailwind, and code Playground
by Haplo63
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/js/kendo.common.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.2.710/js/kendo.default.min.css">
<div id="grid"/>
JavaScript
var columns =
[
{ field:"Name", width:"200px", title: "Name" },
{ field:"Grade", width:"200px", title: "Grade" },
{ field:"Age", width:"200px", title: "Age" },
]
var model =
{
id: "id",
fields:
{
Name : {type: "string"},
Grade : {type: "number"},
Title : {type: "string"}
}
};
var dataSource = new kendo.data.DataSource(
{
schema:
{
model: model,
}
}