JSFiddle - React, Tailwind, and code Playground

by valchev

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">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.2.710/styles/kendo.mobile.all.min.css">
<div data-role="view" id="foo" data-init="createListView">
    <ul id="listview"></ul>
</div>

JavaScript

var app = new kendo.mobile.Application(document.body);

var dataSource = new kendo.data.DataSource({
    data: [
        {id: 1, foo: 1, bar: 1},
        {id: 2, foo: 2, bar: 2},
        {id: 3, foo: 3, bar: 3}    
    ],
    schema: {
        model: {
            id: "id",
            fields: {
                id: {type: "number"},
                foo: {type: "number", validation: {max: 100}},
                bar: {type: "string"}                    
            }
        }                
    }
});

function createListView() {
    $("#listview").kendoMobileListView({
        
    });
}