Open tom-weiss opened 9 months ago
TreeDataGrid
does not support column groups at the moment and the types are correct.
And FYI, this change was made here https://github.com/adazzle/react-data-grid/pull/3287/files where row grouping was removed from the core Grid and moved into TreeGrid was titied up.
I ended up having to review the diff of releases to identify and fix all the breaking changes when I upgraded from 7.0.0-beta.34
to 7.0.0-beta.41
.
TreeDataGridProps has wrong type for columns
Is currently set to: readonly Column<R, SR>[];
Should be readonly ColumnOrColumnGroup<R, SR>[];
To Reproduce
I am happy to create a PR with a fix if you want.