JSFiddle - React, Tailwind, and code Playground
by Cary Price
HTML
<script src="http://cdn.kendostatic.com/2012.2.913/js/kendo.all.min.js"></script>
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.2.913/styles/kendo.mobile.all.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.2.913/styles/kendo.common.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.2.913/styles/kendo.default.min.css">
<div id="grid"></div>
JavaScript
$("#grid").kendoGrid({
dataSource: {
data: [
{ foo: 1, bar: "09/25/18 12:31" },
{ foo: 2, bar: "2010-01-01T12:00:00Z" },
{ foo: 3, bar: "2010-01-01T12:00:00Z" },
{ foo: 4, bar: "2012-09-26T11:56:38.807" }
],
schema: {
model: {
fields: {
foo: {type: "number"},
bar: {type: "date"}
}
}
}
},
columns: [
{field: "foo"},
{field: "bar", format: "{0:MM/dd/yyyy}", filterable: { multi: true, search: true }}
]
});