React TreeList - remoteOperations
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) |
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 that when the operations are performed remotely, the TreeList does not support:
- sorting, grouping and filtering by columns with the calculateCellValue or calculateDisplayValue option defined;
- custom sorting using functions (that is, calculateSortValue accepts strings only).
grouping
Grouping is required only when a user can filter data using a header filter.
If you have technical questions, please create a support ticket in the DevExpress Support Center.