本页还没有译文
本页 18 段还没译成Tiếng Việt,下面显示的是英文原文。table_toggleAllRowsExpanded
还没翻译译自英文(tanstack.com)本页 18 段都还没译
function table_toggleAllRowsExpanded<TFeatures, TData>(table, expanded?): void;Defined in: features/row-expanding/rowExpandingFeature.utils.ts:92
Expands or collapses every row.
Passing true stores the special expanded-all state. Passing false stores
an empty map. Omitting the value toggles based on whether all rows are
currently expanded.
The call is a no-op (no onExpandedChange) when no row can expand or when
the requested state matches the current state exactly.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
table
Table_Internal<TFeatures, TData>
expanded?
boolean
Returns
void
Example
table_toggleAllRowsExpanded(table)AI 翻译查看英文原文