I'm using the ag-grid server-side row model. In my database, I have a total of 1,000 records. I'll be loading the data in ag-grid with infinite scroll. On the initial load, based on the page number, which is 1, I have set the limit to 10 records per page. The next fetch should occur only when I reach the end of a block. Currently, it is prefetching the data for the next pages based on the total records I pass from the API, but I don't want it to behave this way because the user may not see all the data that is prefetched. The API trigger should only happen when it is needed, as I mentioned before, when I reach the end of a block(with the updated page number). Is this available in the ag-grid server-side row model (my version --> "ag-grid-enterprise": "^31.3.2")?
How to disable prefetch data in server side row model in Ag-grid - Stack Overflow
评论列表(0)
- 暂无评论