0
Fork 0
mirror of https://github.com/TanStack/table.git synced 2026-11-18 18:55:54 +00:00
table/docs/reference/static-functions/functions/table_getExpandedRowModel.md
2026-06-26 20:33:44 -05:00

1.1 KiB

id title
table_getExpandedRowModel table_getExpandedRowModel

Function: table_getExpandedRowModel()

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)