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 there is rowspan configuration set for columns. #394

Open
vasyl-hordynskyy opened this issue Nov 2, 2023 · 0 comments

Comments

@vasyl-hordynskyy
Copy link

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

Relevant code or config
Rowspan is enabled for cels.

What you did:
I used the default example for cell rowspan and colspan from the documentation (https://reactdatagrid.io/docs/cell-rowspan-and-colspan). In this example, when I open the column menu for a specific 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 cell has rowspan option configured.

Suggested solution:

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