UNPKG

@justjarethb/table-core

Version:

Fork of @tanstack/table-core with support for event listeners in different windows

8 lines (7 loc) 361 B
import { Table, Row, RowModel, RowData } from '../types'; export declare function getExpandedRowModel<TData extends RowData>(): (table: Table<TData>) => () => RowModel<TData>; export declare function expandRows<TData extends RowData>(rowModel: RowModel<TData>): { rows: Row<TData>[]; flatRows: Row<TData>[]; rowsById: Record<string, Row<TData>>; };