mui-datatables icon indicating copy to clipboard operation
mui-datatables copied to clipboard

Performance issue when select one row in a large table.

Open newlifeyh opened this issue 5 years ago • 1 comments

Expected Behavior

When select one row by clicking the checkbox, finish rendering quickly.

Current Behavior

It's too slow.

Steps to Reproduce (for bugs)

  1. Modify the file of component/index.js in examples by adding 1000 rows of new data, and disable pagination.
  2. Then start the devServer npm run dev
  3. click the checkbox, the lagging is very noticeable. It would take 4s to finish the rendering.

I created sandbox here: https://codesandbox.io/s/confident-wilbur-d6pvg?file=/src/App.js

From the profiler, it seems whenever I click one checkbox, it's trying to re-render the whole table.

newlifeyh avatar May 19 '20 03:05 newlifeyh

I have same experience. Are there any updates on this?

ljacho avatar Aug 06 '22 14:08 ljacho