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

Autosize all columns function crashes when grid has more then 15 columns and columnVirtualization is enabled #397

Open
vasyl-hordynskyy opened this issue Nov 8, 2023 · 1 comment

Comments

@vasyl-hordynskyy
Copy link

  • what edition are you using - enterprise
  • version for @inovua/reactdatagrid-enterprise - 5.9.4

Relevant code or config
Columns virtualization and columns autosize options are enabled.

What you did:
I used the default example for performance and virtualization from the documentation (https://reactdatagrid.io/docs/performance-and-virtualization). In this example, when I scroll to the right and open the column menu for a last column and select the 'Autosize all columns' option, the column widths do not change, and an error is logged in the console.
What happened:
Error in console cannot read properties of undefined on Autosize all columns menu click.

image

Reproduction repository:
App example

Problem description:
Auto size all columns functionality does not work when vartualized columns option is enabled and grid has more then 15 columns.

Suggested solution:

@tomjcb
Copy link

tomjcb commented Nov 15, 2023

Seems to be a duplicate of #395

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

2 participants