Debouncing block loading in server-side row model
Debounce Block Loading
It is possible to debounce the loading of Server-side Blocks. This is useful if users want to skip loading blocks when scrolling to an advanced position.
This can be configured using the grid options blockLoadDebounceMillis property:
gridOptions.blockLoadDebounceMillis = 1000
Note that the grid will not then request all data, hence blocks, in between start and end scroll positions. For instance if you are initially at block 0 and you scroll to block 10 it won't load blocks 1, 2, 3 etc... This results in less server / network calls to the server.
Note this property also works with the Infinite Row Model.
Comments
0 comments
Please sign in to leave a comment.