dataSource example

HTML

<script src="http://cdn.kendostatic.com/2012.1.322/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.metro.min.css">
<div id="example">

</div>

JavaScript

var dataSource = new kendo.data.DataSource({
    transport: {
        read: {
            //using jsfiddle echo service to simulate JSON endpoint
            //url: "/echo/" + id, //this will not work
            url: "/echo/json/",
            dataType: "json",
            type: "POST",
            data: {
                // /echo/json/ echoes the JSON which you pass as an argument
                json: JSON.stringify([
                    {"item": "item1", "price": "$2.50"},
                    {"item": "item2", "price": "$4.50"}
                ])
            }
        }
    },
    change: function() {
        var x = dataSource.view();
        var y = x[1].item;
        $("#example").html(y);
    }
});

dataSource.read();