kendo test

HTML

<script src="http://cdn.kendostatic.com/2012.1.515/js/kendo.all.min.js"></script>
<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">
<div id="grid"></div>

JavaScript

var dataSource = new kendo.data.DataSource({
    //type: "odata",
    transport: {
        read: {
            //using jsfiddle echo service to simulate JSON endpoint
            url: "/echo/json/",
            dataType: "json",
            type: "POST",
            data: {
                // /echo/json/ echoes the JSON which you pass as an argument
                json: JSON.stringify([
                    {
                        "Rank": 1,
                        "Title": "\tAvatar (2009)\t",
                        "Revenue": 760505847
                    },
                    {
                        "Rank": 2,
                        "Title": "\tTitanic (1997)\t",
                        "Revenue": 600779824
                    },
                    {
                        "Rank": 3,
                        "Title": "\tThe Avengers (2012)\t",
                        "Revenue": 599387534
                    },
                    {
                        "Rank": 4,
                        "Title": "\tThe Dark Knight (2008)\t",
                        "Revenue": 533316061
                    },
                    {
                    "Rank": 5,
                        "Title": "\tThrevht (2008)\t",
                        "Revenue": 456
                    }
                ])
            }
        }
    }
});
    
var grid = $("#grid").kendoGrid({
    dataSource: dataSource
});