本页还没有译文
本页 17 段还没译成Tiếng Việt,下面显示的是英文原文。table_setRowPinning
还没翻译译自英文(tanstack.com)本页 17 段都还没译
function table_setRowPinning<TFeatures, TData>(table, updater): void;Defined in: features/row-pinning/rowPinningFeature.utils.ts:43
Routes a row pinning updater through the table's row-pinning change handler.
The updater may be a next { top, bottom } state or a function of the
previous state, matching the instance table.setRowPinning behavior.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
table
Table_Internal<TFeatures, TData>
updater
Returns
void
Example
table_setRowPinning(table, (old) => ({ ...old, top: [rowId] }))AI 翻译查看英文原文