本页还没有译文
本页 17 段还没译成简体中文,下面显示的是英文原文。table_setColumnSizing
还没翻译译自英文(tanstack.com)本页 17 段都还没译
function table_setColumnSizing<TFeatures, TData>(table, updater): void;Defined in: features/column-sizing/columnSizingFeature.utils.ts:330
Routes a committed column sizing updater through the table's sizing handler.
The updater may be a next size map or a function of the previous map,
matching the instance table.setColumnSizing behavior.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
table
Table_Internal<TFeatures, TData>
updater
Returns
void
Example
table_setColumnSizing(table, (old) => ({ ...old, age: 96 }))AI 翻译查看英文原文