react-data-grid
react-data-grid copied to clipboard
Crash on click on grouping row when `onFill` is set
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
- Click on a grouping row, see the screenshot below.
- Note the exception.
Expected behavior
Clicking on the grouping row should not crash the application.
Environment
react-data-gridversion: 7.0.0-beta.43react/react-domversion: 18.0.0