本页还没有译文
本页 15 段还没译成Français,下面显示的是英文原文。row_getParentRow
还没翻译译自英文(tanstack.com)本页 15 段都还没译
function row_getParentRow<TFeatures, TData>(row):
| Row<TFeatures, TData>
| undefined;Defined in: core/rows/coreRowsFeature.utils.ts:184
Looks up this row's direct parent, if it has one.
Parent lookup prefers the core row model for structural parents, then falls back to the pre-pagination row model for generated parent rows.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
row
Row<TFeatures, TData>
Returns
| Row<TFeatures, TData>
| undefined
Example
const parent = row_getParentRow(row)AI 翻译查看英文原文