Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtualization with big merge cells solution #26

Open
underfisk opened this issue Feb 9, 2021 · 0 comments
Open

Virtualization with big merge cells solution #26

underfisk opened this issue Feb 9, 2021 · 0 comments
Assignees

Comments

@underfisk
Copy link
Collaborator

underfisk commented Feb 9, 2021

Its known that when the first merge cell parent is not visible all the merge cell effect is lost therefore there are 2 possible solutions:

  1. Create a map with useMemo that calculates ahead of time whether the parent is visible or not and the first children will get the merge control but all the navigation, editors and behaviours that were on the main parent would have to be delegate to this child. Also the navigation must be adjusted if the user was on that parent that is not visible and pass it to the new one
  2. Adjust react-virtualized cellRangeRenderer (https://github.com/bvaughn/react-virtualized/blob/master/docs/Grid.md#cellrangerenderer) and ensure that the merged cell parent plus its childs are rendered but this could negatively impact the application performance, therefore, will just be considered after attempting the creation of the first solution
  3. Re-write the whole table instead of using react-virtualize under the hood we create our tables using default html tables that provide col/row spanning and we manage the virtualize with it (My preferable choice)
@underfisk underfisk self-assigned this Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant