We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8d5d43 commit f055715Copy full SHA for f055715
packages/table-core/src/core/row.ts
@@ -154,7 +154,7 @@ export const createRow = <TData extends RowData>(
154
row.getValue(columnId) ?? table.options.renderFallbackValue,
155
subRows: subRows ?? [],
156
getLeafRows: () => flattenBy(row.subRows, d => d.subRows),
157
- getParentRow: () => (row.parentId ? table.getRow(row.parentId) : undefined),
+ getParentRow: () => (row.parentId ? table.getRow(row.parentId, true) : undefined),
158
getParentRows: () => {
159
let parentRows: Row<TData>[] = []
160
let currentRow = row
0 commit comments