-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Steps to reproduce
Steps:
- Open this link to live example: Codesandbox Demo
- Attempt the following interactions:
- Expand/collapse nodes within the TreeData.
- Scroll vertically through the dataset.
- Perform any editing or cell interaction within the grid.
- Observe the performance lag and sluggish response times.
Current behavior
The DataGrid becomes significantly slow and unresponsive when interacting with TreeData on large datasets (50,000+ rows), even with virtualization enabled. Actions like toggling expand/collapse and scrolling are particularly affected.
Expected behavior
The grid should remain responsive and fluid during all interactions — including editing, scrolling, and expanding TreeData — even with large datasets. This is crucial for our production use case, where users frequently work with tens of thousands of records in real time.
Context
We are building a highly interactive data table that allows users to view, edit, and manipulate large datasets seamlessly. Performance is a critical factor for usability, and current slowness is a blocker in adopting this component for our needs. We expect virtualization to handle these volumes more efficiently.
Your environment
npx @mui/envinfo
System:
OS: Windows 11 10.0.22631
Binaries:
Node: 20.12.0 - C:\Program Files\nodejs\node.EXE
npm: 10.5.0 - C:\Program Files\nodejs\npm.CMD
pnpm: Not Found
Browsers:
Chrome: Not Found
Edge: Chromium (135.0.3179.73)
npmPackages:
@mui/lab: ^6.0.0-beta.21 => 6.0.0-beta.21
@mui/styled-engine-sc: ^6.3.0 => 6.3.0
@mui/x-data-grid: ^7.23.5 => 7.23.5
@mui/x-data-grid-pro: ^7.23.5 => 7.23.5
@mui/x-date-pickers: ^7.23.3 => 7.23.3
@mui/x-tree-view: ^7.23.2 => 7.23.2
styled-components: latest => 6.1.13
Search keywords: data-grid-pro, data-grid-treedata, performance, large-dataset
Order ID: 102733