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

TypeError: getCellWidth is not a function after update to 2.0.5 #2351

Closed
2 of 4 tasks
maximenathan opened this issue Sep 24, 2019 · 3 comments · Fixed by #2353
Closed
2 of 4 tasks

TypeError: getCellWidth is not a function after update to 2.0.5 #2351

maximenathan opened this issue Sep 24, 2019 · 3 comments · Fixed by #2353
Assignees
Labels
bug Grid The DevExtreme Reactive Grid component

Comments

@maximenathan
Copy link

  • I have searched this repository's issues and believe that this is not a duplicate.

I'm using ...

  • React Grid
  • React Chart
  • React Scheduler

Current Behaviour

After updating to devexpress/dx-react-core, devexpress/dx-react-grid and dx-react-grid-material-ui I got the following errors :

image

image

The error disappears when:

  • I downgrade dx-react-grid-material-ui to 2.0.4
  • If I don't use TableHeaderRow from @devexpress/dx-react-grid-material-ui
  • If I don't use a custom TableHeaderRow cellComponent

I tried to reproduce my error on codesandbox box but I got another error before using a custom cellComponent

Do you need any more information?

Thank you

Environment

  • react: 19.9.0
  • browser: Chrome
  • bootstrap: none
  • react-bootstrap: none
  • material-ui: 4.4.2
@churkin churkin added Grid The DevExtreme Reactive Grid component question labels Sep 24, 2019
@LazyLahtak LazyLahtak added bug and removed question labels Sep 24, 2019
@LazyLahtak LazyLahtak self-assigned this Sep 24, 2019
@LazyLahtak
Copy link
Contributor

Hi @maximenathan,
 
Thank you for reporting the problem. We will fix it in the nearest release. For now, you can provide the getCellWidth property in your component to avoid the error.

@maximenathan
Copy link
Author

Thanks for the quick fix!

@lock
Copy link

lock bot commented Oct 5, 2019

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Grid The DevExtreme Reactive Grid component
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants