xiaolizi007
11/22/2016 - 6:26 AM

From http://wiki.jikexueyuan.com/project/kendo-ui-development-tutorial/overview-of-kendo-data-source.html additional parameters sent to the


var dataSource = new kendo.data.DataSource({
    transport: {
        read: {
            // the remote service url
            url: "http://search.twitter.com/search.json",

            // JSONP is required for cross-domain AJAX
            dataType: "jsonp",

            // additional parameters sent to the remote service
            data: {
                q: "html5"
            }
        }
    },
    // describe the result format
    schema: {
        // the data which the data source will be bound to is in the "results" field
        data: "results"
    }
});