API REFERENCE
cacheBlockSize
Block size for requesting and caching remote rows.
What does this API do?
Block size for requesting and caching remote rows.
Exact input and result types
cacheBlockSize: number| Item | Value |
|---|---|
| JavaScript name | cacheBlockSize |
| HTML attribute | cache-block-size |
| Default | 100 |
| Input type | number |
Usage flow
Set this on a property of the Grid element. In HTML, you can also use the cache-block-size attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.
Feature explanations and examples
- Request only needed blocks
When downloading every order at once is impractical, request only the ranges needed for scrolling. datasource supplies data based on starting and ending rows and search conditions.