Skip to content
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

DataGrid / @mui/data-grid / TexteaInc/json-viewer throubles #23

Open
xepozz opened this issue Mar 5, 2023 · 0 comments
Open

DataGrid / @mui/data-grid / TexteaInc/json-viewer throubles #23

xepozz opened this issue Mar 5, 2023 · 0 comments

Comments

@xepozz
Copy link
Member

xepozz commented Mar 5, 2023

Rerenders

See mui/mui-x#3480, mui/mui-x#7807
DataGrid rerenders barely at each mouse move. It's optimised now as much a possible, but still have some problems from time to time

Virtualization

A lot of DataGrids use https://github.com/TexteaInc/json-viewer to render data from the backend.
If a page has lots of items it use js virtualization pattern to decrease page size and do not render hidden parts of the page. Because of these things sometimes it's impossible to scroll to the bottom.

Need to think about workaround. Disabling DataGrid virtualization doesn't work because it disables another mechanism, but virtualization itself https://mui.com/x/react-data-grid/virtualization/

@xepozz xepozz changed the title DataGrid / @mui/data-grid throubles DataGrid / @mui/data-grid / TexteaInc/json-viewer throubles Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant