-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
scope: data gridChanges or issues related to the data grid productChanges or issues related to the data grid productsupport: premium standardSupport request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/type: bugA bug or unintended behavior in the components.A bug or unintended behavior in the components.
Description
Steps to reproduce
I am a little uncertain whether or not I am misunderstanding the use of the datasource cache. I would suspect that I would have to refetch all rows, if I clear the datasource cache, however this is not the case in the example:
Steps:
- Open this link to live example
- Try to scroll and notice that the datasource cache is cleared every time each time five rows are scrolled, which in my understanding would require the relevant rows to be refetched. However, as you can see no rows are refetched.
I am not sure if this is a bug, or if I am misunderstanding the purpose of the datasource cache. Hope you can help.
Current behavior
Rows are not refetched when cache is cleared.
Expected behavior
Rows should be refetched when datasource cache is cleared
Context
No response
Your environment
See env in stackblitz
Search keywords: Data Grid, Lazy load, cache
Order ID: 115035
Metadata
Metadata
Assignees
Labels
scope: data gridChanges or issues related to the data grid productChanges or issues related to the data grid productsupport: premium standardSupport request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/type: bugA bug or unintended behavior in the components.A bug or unintended behavior in the components.