本页还没有译文
本页 20 段还没译成日本語,下面显示的是英文原文。table_setOptions
还没翻译译自英文(tanstack.com)本页 20 段都还没译
function table_setOptions<TFeatures, TData>(
table,
updater,
options?): void;Defined in: core/table/coreTablesFeature.utils.ts:201
Updates the table options object.
The updater receives the current resolved options and the merged result is immediately assigned to the table instance.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
table
Table_Internal<TFeatures, TData>
updater
Updater<TableOptions<TFeatures, TData>>
options?
syncExternalState?
boolean
Returns
void
Example
table_setOptions(table, (old) => old)
table_setOptions(table, (old) => old, { syncExternalState: false })AI 翻译查看英文原文