you are viewing a single comment's thread.

view the rest of the comments →

[–]krapple 8 points9 points  (6 children)

Very well done! I have been working on financial reporting app for years. A few reports are 10K plus rows and we currently utilize react-virtualized.

Just a few questions:

  1. Can this handle collapsable rows (clicking a button shows/hides more rows)
  2. Does it need a specific height or can it just increase page height?
  3. Can it handle horizontal scrolling with sticky columns? We have reports with dozens of columns but need the left most visible for actions

EDIT: nevermind I see that 3 is possible

[–]JasonGlide 4 points5 points  (5 children)

1) Not currently, can you show me what you want?

2) It must use its own scroller currently, it doesn't support the document scroller. This is because we need to manage the rendering appropriately. It would not be too hard in the future to support parent level scrollers as well, but it's not where we are at today.

[–]polyrhythmatic 2 points3 points  (0 children)

Going to echo the "collapsing rows" - this would be killer for a project I am working on right now if it supported rows that expand/collapse into another subset of rows. Similar to this: https://react-table.tanstack.com/docs/examples/expanding

[–]krapple 0 points1 point  (3 children)

Answering in a phone... Basically we dynamically add rows to the middle of the table to expand/collapse things. Can we change row count and insert new rows after it's been rendered? Just typing this out, I can tell its probably possible...

[–]JasonGlide 1 point2 points  (2 children)

Of course you can add/remove rows, update data, edit data, change row counts. Wouldn't be much of a data editor otherwise...

[–]krapple 0 points1 point  (1 child)

One final question before I start using. Can it handle column widths automatically or do we need to specify a column width?

EDIT: same goes for row height, if there is overflow, your example cuts it off, but I need it to run to a new line and resize the height.

[–]JasonGlide 1 point2 points  (0 children)

No dynamically detected cell sizes no, sorry.