本页还没有译文
本页 17 段还没译成Français,下面显示的是英文原文。table_setGrouping
还没翻译译自英文(tanstack.com)本页 17 段都还没译
function table_setGrouping<TFeatures, TData>(table, updater): void;Defined in: features/column-grouping/columnGroupingFeature.utils.ts:148
Routes a grouping updater through the table's grouping change handler.
The updater may be a next GroupingState array or a function of the previous
grouping state, matching the instance table.setGrouping behavior.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
table
Table_Internal<TFeatures, TData>
updater
Returns
void
Example
table_setGrouping(table, (old) => [...old, 'status'])AI 翻译查看英文原文