Back to Table

CreateRowModel_Expanded

docs/reference/interfaces/CreateRowModel_Expanded.md

8.21.31.2 KB
Original Source

Interface: CreateRowModel_Expanded<TFeatures, TData>

Defined in: features/row-expanding/rowExpandingFeature.types.ts:124

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Properties

expandedRowModel()?

ts
optional expandedRowModel: (table) => () => RowModel<TFeatures, TData>;

Defined in: features/row-expanding/rowExpandingFeature.types.ts:131

This function is responsible for returning the expanded row model. If this function is not provided, the table will not expand rows. You can use the default exported getExpandedRowModel function to get the expanded row model or implement your own.

Parameters

table

Table<TFeatures, TData>

Returns

ts
(): RowModel<TFeatures, TData>;
Returns

RowModel<TFeatures, TData>