@tanstack/react-table 8.2.0 → 8.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3575,7 +3575,7 @@ function getGroupedRowModel() {
3575
3575
  const subRows = groupUpRecursively(groupedRows, depth + 1, id); // Flatten the leaf rows of the rows in this group
3576
3576
 
3577
3577
  const leafRows = depth ? flattenBy(groupedRows, row => row.subRows) : groupedRows;
3578
- const row = createRow(table, id, undefined, index, depth);
3578
+ const row = createRow(table, id, leafRows[0].original, index, depth);
3579
3579
  Object.assign(row, {
3580
3580
  groupingColumnId: columnId,
3581
3581
  groupingValue,