serverGrouping Boolean (default: false)

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

By default, the group is sent to the server following jQuery conventions.

For example, the group { field: "category", dir: "desc" } is sent as:

  • group[0][field]: category
  • group[0][dir]: desc

Use the parameterMap option to send the group option 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 grouping

var dataSource = new{
  transport: {
    /* transport configuration */
  serverGrouping: true,
  group: { field: "category", dir: "desc" }
In this article