react-data-grid icon indicating copy to clipboard operation
react-data-grid copied to clipboard

Crash on click on grouping row when `onFill` is set

Open TimoStaudinger opened this issue 1 year ago • 0 comments

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

TimoStaudinger avatar Mar 21 '24 12:03 TimoStaudinger