4 ms·
I think the question can be will a user wants to see 1M rows at a time. Probably no. Spreadsheet uses virtualisation to display data, ie only data viewable in
by rowsncolumns 3y ago
I think the question can be will a user wants to see 1M rows at a time. Probably no.
Spreadsheet uses virtualisation to display data, ie only data viewable in a Row x Column viewport is displayed. This improves rendering performance.
Data performance can be improved by
1. Lazy loading data or Infinite scrolling. We have a built-in async hook that does this.
2. Only save pointers to data that is being displayed. So if you have 1M rows, on the JavaScript side, you only load 100 rows in memory and when user scrolls, you can replace this rows with new data. This will make the browser happy.
3. Streaming data from the server similar to google sheets.
But to answer your question, we have a Max row limit of 1_048_576 and max column limit of 16_384
- mhitza 3y agoI'm checking it out on my phone and scrolling through the interface is pretty choppy, but rather fluid in a Google sheet. Maybe you might be able to further tweak the virtual row rendering? Props for the fact that when I scroll a bit faster things don't disappear, which I've seen before in SPAs with infinite scroll.
- cdmckay 3y agoFeels pretty smooth on my iPhone 13.
- rowsncolumns 3y agoCould you share which phone you were using? We use virtual rendering at both row and column level.
- mhitza 3y agoI'm on a Fairphone 4 with Firefox, but I guess it would be the same on any midrange phone.
- rowsncolumns 3y agoGot it. I will try to do some performance testing on midrange phones and mobile firefox. Thanks
- wouldbecouldbe 3y agoThe beauty of excel is you can load Million rows and do computations on them.
- leptons 3y agoExcel is probably the wrong tool for that job. At the scale of a million rows or more, this is probably better done by a real database and programming language.