serverAggregates Boolean (default: false)

If set to true, the data source will leave the aggregate calculation to the remote service. By default, the data source calculates aggregates client-side.

Configure schema.aggregates if you set serverAggregates to true.

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

Example - enable server aggregates

<script>
var dataSource = new kendo.data.DataSource({
  transport: {
    /* transport configuration */
  },
  serverAggregates: true,
  aggregate: [
    { field: "age", aggregate: "sum" }
  ],
  schema: {
    aggregates: "aggregates" // aggregate results are returned in the "aggregates" field of the response
  }
});
</script>
In this article