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

Crash on click on grouping row when onFill is set #3477

Closed
TimoStaudinger opened this issue Mar 21, 2024 · 1 comment
Closed

Crash on click on grouping row when onFill is set #3477

TimoStaudinger opened this issue Mar 21, 2024 · 1 comment
Labels

Comments

@TimoStaudinger
Copy link

Describe the bug

In a grouped TreeDataGrid that has onFill specified, the application crashes when the user clicks on a grouping row.

To Reproduce

See the minimal reproduction here: https://codesandbox.io/p/sandbox/rdg-group-crash-vn3ddv?file=%2Fsrc%2FApp.js

  1. Click on a grouping row, see the screenshot below.
  2. Note the exception.

image

image

Expected behavior

Clicking on the grouping row should not crash the application.

Environment

  • react-data-grid version: 7.0.0-beta.43
  • react/react-dom version: 18.0.0
@amanmahajan7
Copy link
Contributor

onFill is not supported at the moment on TreeDataGrid. We will accept PR
https://github.com/adazzle/react-data-grid/blob/main/src/TreeDataGrid.tsx#L28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants