Edit this page

serverPaging Boolean (default: false)

If set to true, the data source will leave the data item paging implementation to the remote service. By default, the data source performs paging client-side.

Configure schema.total if you set serverPaging to true. In addition, pageSize should be set no matter if paging is performed client-side or server-side.

The following options are sent to the server when server paging is enabled:

  • page - the page of data item to return (1 means the first page).
  • pageSize - the number of items to return.
  • skip - how many data items to skip.
  • take - the number of data items to return (the same as pageSize).

Use the parameterMap option to send the paging options in a different format.

For more information and tips about client and server data operations, refer to the introductory article on the DataSource.

Example - enable server paging

<script>
var dataSource = new kendo.data.DataSource({
  transport: {
    /* transport configuration */
  },
  serverPaging: true,
  schema: {
    total: "total" // total is returned in the "total" field of the response
  }
});
</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