Skip to main content

table_getExpandedRowModel

还没翻译译自英文(tanstack.com)本页 15 段都还没译

function table_getExpandedRowModel<TFeatures, TData>(table): RowModel<TFeatures, TData>;

Defined in: core/row-models/coreRowModelsFeature.utils.ts:194

Resolves the row model after expanded rows have been flattened into view.

When manualExpanding is enabled, or no expanded row-model factory was registered, this returns the pre-expanded row model unchanged.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

RowModel<TFeatures, TData>

Example

const expandedRows = table_getExpandedRowModel(table)