Remote (server-side) grouping
The grid delegates grouping and aggregation to a server through a documented request/response protocol. It lazily loads group rows and children on expand. This allows grouping of datasets too large for the browser.
Planned. This page shows the specification from issue #196. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A mock server in the docs (in-browser worker) simulates latency. Grouped by Service.
Expected behavior
Expanding a group shows a loading row, then its children. The inspector displays each request. Errors render a retry row inside the group.
Planned API surface
options.dataSource.type='remote'dataSource.getRows(request)GroupRequest {groupBy, groupKeys, aggregates, sort, filter, startRow, endRow}GroupResponse {rows, rowCount, aggregates}events.remoteLoadErrorAcceptance criteria
- Expanding a group issues one request containing the group's key path. (pending)
- Aggregates displayed are the values returned by the server, not computed on the client. (pending)
- Collapsing and re-expanding uses the cache within the configured TTL. (pending)
- Stale responses (superseded by a regrouping) are discarded. (pending)
- Error rows offer a retry that re-sends the same request. (pending)