serverFiltering Boolean (default: false)

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

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

For example, the filter { logic: "and", filters: [ { field: "name", operator: "startswith", value: "Jane" } ] } is sent as:

  • filter[logic]: and
  • filter[filters][0][field]: name
  • filter[filters][0][operator]: startswith
  • filter[filters][0][value]: Jane

Use the parameterMap option to send the filter 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 filtering

var dataSource = new{
  transport: {
    /* transport configuration */
  serverFiltering: true,
  filter: { logic: "and", filters: [ { field: "name", operator: "startswith", value: "Jane" } ] }
In this article