本页还没有译文
本页 17 段还没译成한국어,下面显示的是英文原文。table_setColumnVisibility
还没翻译译自英文(tanstack.com)本页 17 段都还没译
function table_setColumnVisibility<TFeatures, TData>(table, updater): void;Defined in: features/column-visibility/columnVisibilityFeature.utils.ts:266
Routes a column visibility updater through the table's visibility change handler.
The updater may be a next visibility map or a function of the previous map,
matching the instance table.setColumnVisibility behavior.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
table
Table_Internal<TFeatures, TData>
updater
Updater<ColumnVisibilityState>
Returns
void
Example
table_setColumnVisibility(table, (old) => ({ ...old, age: false }))AI 翻译查看英文原文