最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to disable prefetch data in server side row model in Ag-grid - Stack Overflow

programmeradmin6浏览0评论

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")?

发布评论

评论列表(0)

  1. 暂无评论