Edit this page

type String

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

The supported values are:

Example - enable OData support

<script>
var dataSource= new kendo.data.DataSource({
  type: "odata",
  transport: {
    read: "https://demos.telerik.com/kendo-ui/service/Northwind.svc/Orders"
  },
  pageSize: 20,
  serverPaging: true
});
dataSource.fetch(function() {
  console.log(dataSource.view().length); // displays "20"
});
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy