JavaScript/jQuery TreeList - remoteOperations

Notifies the TreeList of the server's data processing operations. Applies only if data has a plain structure.

Type:

Object

Server-side data processing improves the widget's performance on large datasets. When the server does not implement particular operations (and/or the corresponding remoteOperations fields are false) they are executed on the client. Note that the widget may send queries to the server while executing a client-side operation.

The following table lists the possible remoteOperations configurations and the operations the server should implement. The server should also implement additional operations depending on the used widget functionality.

Setting Required server-side operations Additional server-side operations
remoteOperations: { filtering: true } filtering -
remoteOperations: { sorting: true } sorting filtering*
remoteOperations: { grouping: true } grouping, filtering sorting*
* - If this functionality is used in the widget.
NOTE
Filtering and sorting are performed on the server side for the ODataStore, but you can change them to the client side by setting the corresponding remoteOperations fields to false. Other operations are always client-side.

When operations are performed on the server side, the TreeList does not support:

Web API Service Demo

See Also

filtering

Specifies whether filtering should be performed on the server.

Type:

Boolean

Default Value: false

grouping

Specifies whether grouping should be performed on the server.

Type:

Boolean

Default Value: false

Grouping is required only when a user can filter data using a header filter.

sorting

Specifies whether sorting should be performed on the server.

Type:

Boolean

Default Value: false