JSFiddle - React, Tailwind, and code Playground
by valchev
HTML
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.1.322/styles/kendo.common.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.1.322/styles/kendo.default.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.1.322/styles/kendo.dataviz.min.css">
<script src="http://cdn.kendostatic.com/2012.1.515/js/kendo.all.min.js"></script>
<div id="grid"></div>
JavaScript
$(function (){
var data = new kendo.data.DataSource({
data: [{ name: "name1", value1: "value1", value2: "value2"}],
schema: {
model: {
id: "name",
fields: {
name:{defaultValue:"name"},
value1:{defaultValue:"value1"},
value2:{defaultValue:"value2"}
}
}
}
});
$("#grid").kendoGrid({
dataSource: data,
editable: true,
navigatable: true,
toolbar: ["create"],
edit: function(e) {
this.current(e.container);
}
});
});