-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] Row virtualization overscanning tradeoff #270
Comments
viewportPageSize is calculated with Height of the grid and row height... |
So if there are 50 rows visible, it overscan 50 rows. If there are 5 rows visible, it overscan 5 rows. Is my conclusion correct? |
Yes atm there is a factor 2 because of its design, with the rendering zone... |
In the latest beta release it was added the |
OK, this does sounds a lot better than having the overscan based on the height of the data grid viewport. |
The current logic for over scanning is:
https://github.com/mui-org/material-ui-x/blob/b537d5d01fee06079eedbf3253a159907c9356d4/packages/grid/x-grid-modules/src/hooks/root/useContainerProps.ts#L50-L52
A couple of thoughts:
See this presentation for a deeper dive into the topic: https://www.youtube.com/watch?v=t4tuhg7b50I.
The text was updated successfully, but these errors were encountered: