Edit this page

serverSorting Boolean (default: false)

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

By default, the sort is sent to the server following jQuery's conventions.

For example, the sort { field: "age", dir: "desc" } is sent as:

  • sort[0][field]: age
  • sort[0][dir]: desc

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 sorting

<script>
var dataSource = new kendo.data.DataSource({
  transport: {
    /* transport configuration */
  },
  serverSorting: true,
  sort: { field: "age", dir: "desc" }
});
</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