New to Kendo UI for jQueryStart a free 30-day trial

Type

configuration

If set, the data source will use a predefined transport and/or schema.

The supported values are:

odata version 4

  • "signalr"

type

String
<script>
var dataSource= new kendo.data.DataSource({
  type: "odata-v4",
  transport: {
    read: "https://demos.telerik.com/service/v2/odata/Orders"
  },
  pageSize: 20,
  serverPaging: true
});
dataSource.fetch(function() {
/* The result can be observed in the DevTools(F12) console of the browser. */
  console.log(dataSource.view().length); // displays "20"
});
</script>
Not finding the help you need?
Contact Support