ServerSideConfig
Configuration for the server-side data plugin.
Controls how the grid fetches, caches, and paginates data from a remote source. The grid requests data in blocks (contiguous row ranges) as the user scrolls, caching them locally to avoid redundant network requests.
Example
Section titled “Example”new ServerSidePlugin({ pageSize: 100, cacheBlockSize: 200, maxConcurrentRequests: 2,})Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
pageSize? | number | Number of rows to request per fetch. This determines the endRow - startRow range passed to getRows(). Smaller values mean faster initial loads but more frequent requests while scrolling. |
cacheBlockSize? | number | Number of rows kept in each cache block. When a block is evicted (e.g. scrolled far away), re-scrolling back triggers a new fetch. Should be ≥ pageSize; larger values reduce re-fetches at the cost of memory. |
maxConcurrentRequests? | number | Maximum number of concurrent getRows() requests. Limits how many blocks can be fetched simultaneously during fast scrolling. Set to 1 for strict sequential loading; higher values improve perceived performance. |
Property Details
Section titled “Property Details”pageSize
Section titled “pageSize”Default: 100
cacheBlockSize
Section titled “cacheBlockSize”Default: 200
maxConcurrentRequests
Section titled “maxConcurrentRequests”Default: 2
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt