Angular TreeList - remoteOperations

Specifies what operations are performed on the server.

Type:

String

|

Object

Default Value: 'auto'

Data for the TreeList can either be stored on the client or come from the server. As a rule, manipulating data on the server enhances the TreeList performance. However, the server might be falling short of implementing certain operations. In this case, they can be performed on the client.

Data operations can be categorized into basic operations (filtering, sorting) and advanced operations (grouping). The following table shows where data operations are performed by default.

Basic operations Advanced operations
CustomStore client client
ODataStore server client (always)
NOTE
You cannot perform data operations on the server with an ArrayStore, a LocalStore or an array of objects.

To control individual operations, assign a Boolean value to a corresponding field of the remoteOperations object. Note that making data operations remote makes sense only if data has a plain structure.

NOTE
If actual data is stored on the server, making data operations local does not guarantee that no queries for data will be sent to the server while these operations are being performed. It only guarantees that calculations will be performed on the client.

Note that when the operations are performed remotely, the TreeList does not support:

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