本页还没有译文
本页 21 段还没译成Português (BR),下面显示的是英文原文。table_getRowId
还没翻译译自英文(tanstack.com)本页 21 段都还没译
function table_getRowId<TFeatures, TData>(
originalRow,
table,
index,
parent?): string;Defined in: core/rows/coreRowsFeature.utils.ts:295
Resolves the stable id for a row.
options.getRowId wins when provided. Otherwise root rows use their index
and child rows append their index to the parent id, such as 0.2.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
originalRow
TData
table
Table_Internal<TFeatures, TData>
index
number
parent?
Row<TFeatures, TData>
Returns
string
Example
const id = table_getRowId(originalRow, table, index, parentRow)AI 翻译查看英文原文