facebookarchive / fixed-data-table

A React table component designed to allow presenting thousands of rows of data.
http://facebook.github.io/fixed-data-table/
Other
4.3k stars 553 forks source link

Performance issue for big columns #474

Open xhe opened 7 years ago

xhe commented 7 years ago

I have met an issue for multiple columns. In my cases, I need to show 50+ columns, and I noticed that whenever the table is been re-rendered, the performance is very bad. What we have now is we have a left panel, which is controller of column selector, and a right panel, which is displaying table. When the left panel is toggled, the table width also changed, and in this case, the table performance degraded a lot. Is it right that datatable is only considering the rows, not considering the columns? Thanks

tkirda commented 7 years ago

Check this doc: http://facebook.github.io/fixed-data-table/api-column.html

Set value for allowCellsRecycling to true in your configuration.

xhe commented 7 years ago

Thanks Tomas, Worked like charm, thanks for the consideration in this senario. Frank

On Mon, Jan 9, 2017 at 11:16 AM, Tomas Kirda notifications@github.com wrote:

Check this doc: http://facebook.github.io/fixed-data-table/api-column.html

Set value for allowCellsRecycling to true in your configuration.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/facebook/fixed-data-table/issues/474#issuecomment-271379191, or mute the thread https://github.com/notifications/unsubscribe-auth/AAN4c0yZEyfw-YFOQ7SnTOGO4N9BGF3Uks5rQodygaJpZM4LemWv .