tables icon indicating copy to clipboard operation
tables copied to clipboard

Virtual scrolling and lazy loading for table UI

Open juliusknorr opened this issue 2 years ago • 2 comments

I've tested performance a bit with larger tables now that we have an import way. 1000 rows work fine, though with a 10000 row CSV I currently run into a Error in nextTick: "RangeError: Maximum call stack size exceeded" error when the app tries to render those.

We should consider introducing some way of virtual scrolling to only render the visible rows and probably also think about lazy loading of data.

Useful sample data sets:

  • https://www.datablist.com/learn/csv/download-sample-csv-files
  • https://www.stats.govt.nz/large-datasets/csv-files-for-download/

Related to https://github.com/nextcloud/tables/issues/110

Next steps

  • [ ] #940
  • [ ] #941

juliusknorr avatar May 11 '23 07:05 juliusknorr

👍 cool, it's exactly the same as I did.

Yes, let's add that to the roadmap.

datenangebot avatar May 11 '23 08:05 datenangebot

We should get a better overview on the frontend side to see where the bottlenecks are with 1k, 10k, 100k rows to know what implementation efforts have what impact. Added two tasks to the first post for now.

Then we can decide if there is something we can tackle first.

juliusknorr avatar Mar 18 '24 14:03 juliusknorr