Table_Core

Interface: Table_Core<TFeatures, TData>

Defined in: types/Table.ts:39

The core table object that only includes the core table functionality such as column, header, row, and table APIS. No features are included.

Extends

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Properties

_cellPrototype?

ts
optional _cellPrototype: object;

Defined in: core/table/coreTablesFeature.types.ts:165

Prototype cache for Cell objects - shared by all cells in this table

Inherited from

Table_Table._cellPrototype


_columnPrototype?

ts
optional _columnPrototype: object;

Defined in: core/table/coreTablesFeature.types.ts:169

Prototype cache for Column objects - shared by all columns in this table

Inherited from

Table_Table._columnPrototype


_features

ts
readonly _features: Partial<CoreFeatures> & TFeatures;

Defined in: core/table/coreTablesFeature.types.ts:173

The features that are enabled for the table.

Inherited from

Table_Table._features


_headerPrototype?

ts
optional _headerPrototype: object;

Defined in: core/table/coreTablesFeature.types.ts:177

Prototype cache for Header objects - shared by all headers in this table

Inherited from

Table_Table._headerPrototype


_reactivity

ts
readonly _reactivity: TableReactivityBindings;

Defined in: core/table/coreTablesFeature.types.ts:161

Table reactivity bindings for interacting with TanStack Store.

Inherited from

Table_Table._reactivity


_rowModelFns

ts
readonly _rowModelFns: RowModelFns<TFeatures, TData>;

Defined in: core/table/coreTablesFeature.types.ts:181

The row model processing functions that are used to process the data by features.

Inherited from

Table_Table._rowModelFns


_rowModels

ts
readonly _rowModels: CachedRowModels<TFeatures, TData>;

Defined in: core/table/coreTablesFeature.types.ts:185

The row models that are enabled for the table.

Inherited from

Table_Table._rowModels


_rowPrototype?

ts
optional _rowPrototype: object;

Defined in: core/table/coreTablesFeature.types.ts:189

Prototype cache for Row objects - shared by all rows in this table

Inherited from

Table_Table._rowPrototype


atoms

ts
readonly atoms: Atoms<TFeatures>;

Defined in: core/table/coreTablesFeature.types.ts:195

The readonly derived atoms for each TableState slice. Each derives from its corresponding baseAtom plus, optionally, a per-slice external atom or external state value (precedence: external atom > external state > base atom).

Inherited from

Table_Table.atoms


baseAtoms

ts
readonly baseAtoms: BaseAtoms<TFeatures>;

Defined in: core/table/coreTablesFeature.types.ts:200

The internal writable atoms for each TableState slice. This is the library's single write surface — all state mutations from features land here.

Inherited from

Table_Table.baseAtoms


getAllColumns()

ts
getAllColumns: () => Column<TFeatures, TData, unknown>[];

Defined in: core/columns/coreColumnsFeature.types.ts:91

Normalizes options.columns into the table's nested column hierarchy.

Returns

Column<TFeatures, TData, unknown>[]

Inherited from

Table_Columns.getAllColumns


getAllFlatColumns()

ts
getAllFlatColumns: () => Column<TFeatures, TData, unknown>[];

Defined in: core/columns/coreColumnsFeature.types.ts:95

Flattens the nested column hierarchy, including parent/group columns.

Returns

Column<TFeatures, TData, unknown>[]

Inherited from

Table_Columns.getAllFlatColumns


getAllFlatColumnsById()

ts
getAllFlatColumnsById: () => Record<string, Column<TFeatures, TData, unknown>>;

Defined in: core/columns/coreColumnsFeature.types.ts:83

Returns a map of all flat columns by their ID.

Returns

Record<string, Column<TFeatures, TData, unknown>>

Inherited from

Table_Columns.getAllFlatColumnsById


getAllLeafColumns()

ts
getAllLeafColumns: () => Column<TFeatures, TData, unknown>[];

Defined in: core/columns/coreColumnsFeature.types.ts:99

Collects all terminal leaf columns, excluding parent/group columns.

Returns

Column<TFeatures, TData, unknown>[]

Inherited from

Table_Columns.getAllLeafColumns


getAllLeafColumnsById()

ts
getAllLeafColumnsById: () => Record<string, Column<TFeatures, TData, unknown>>;

Defined in: core/columns/coreColumnsFeature.types.ts:103

Returns a map of all leaf-node columns by their ID. This does not include parent columns.

Returns

Record<string, Column<TFeatures, TData, unknown>>

Inherited from

Table_Columns.getAllLeafColumnsById


getColumn()

ts
getColumn: (columnId) => 
  | Column<TFeatures, TData, unknown>
  | undefined;

Defined in: core/columns/coreColumnsFeature.types.ts:107

Returns a single column by its ID.

Parameters

columnId

string

Returns

| Column<TFeatures, TData, unknown> | undefined

Inherited from

Table_Columns.getColumn


getCoreRowModel()

ts
getCoreRowModel: () => RowModel<TFeatures, TData>;

Defined in: core/row-models/coreRowModelsFeature.types.ts:35

Returns the core row model before any processing has been applied.

Returns

RowModel<TFeatures, TData>

Inherited from

ts
Table_RowModels.getCoreRowModel

getDefaultColumnDef()

ts
getDefaultColumnDef: () => Partial<ColumnDef<TFeatures, TData, unknown>>;

Defined in: core/columns/coreColumnsFeature.types.ts:87

Resolves built-in, feature-level, and user-defined default column options.

Returns

Partial<ColumnDef<TFeatures, TData, unknown>>

Inherited from

Table_Columns.getDefaultColumnDef


getExpandedRowModel()

ts
getExpandedRowModel: () => RowModel<TFeatures, TData>;

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

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

Returns

RowModel<TFeatures, TData>

Inherited from

ts
Table_RowModels.getExpandedRowModel

getFacetedMinMaxValues()

ts
getFacetedMinMaxValues: () => [number, number] | undefined;

Defined in: features/column-faceting/columnFacetingFeature.types.ts:36

Computes min/max numeric facet values for the active faceting context.

Requires a facetedMinMaxValues row-model factory on the features option.

Returns

[number, number] | undefined

Inherited from

ts
Table_RowModels.getFacetedMinMaxValues

getFacetedRowModel()

ts
getFacetedRowModel: () => RowModel<TFeatures, TData>;

Defined in: features/column-faceting/columnFacetingFeature.types.ts:42

Computes the row model used to derive facet values.

Requires a facetedRowModel row-model factory on the features option.

Returns

RowModel<TFeatures, TData>

Inherited from

ts
Table_RowModels.getFacetedRowModel

getFacetedUniqueValues()

ts
getFacetedUniqueValues: () => Map<any, number>;

Defined in: features/column-faceting/columnFacetingFeature.types.ts:48

Computes unique facet values and occurrence counts.

Requires a facetedUniqueValues row-model factory on the features option.

Returns

Map<any, number>

Inherited from

ts
Table_RowModels.getFacetedUniqueValues

getFilteredRowModel()

ts
getFilteredRowModel: () => RowModel<TFeatures, TData>;

Defined in: features/column-filtering/columnFilteringFeature.types.ts:236

Resolves the row model after column and global filters have been applied.

Returns

RowModel<TFeatures, TData>

Inherited from

ts
Table_RowModels.getFilteredRowModel

getFlatHeaders()

ts
getFlatHeaders: () => Header<TFeatures, TData, unknown>[];

Defined in: core/headers/coreHeadersFeature.types.ts:25

Flattens every header from every header group, including parent and placeholder headers.

Returns

Header<TFeatures, TData, unknown>[]

Inherited from

Table_Headers.getFlatHeaders


getFooterGroups()

ts
getFooterGroups: () => HeaderGroup<TFeatures, TData>[];

Defined in: core/headers/coreHeadersFeature.types.ts:20

Builds footer groups by reversing the current header group order.

Returns

HeaderGroup<TFeatures, TData>[]

Inherited from

Table_Headers.getFooterGroups


getGroupedRowModel()

ts
getGroupedRowModel: () => RowModel<TFeatures, TData>;

Defined in: features/column-grouping/columnGroupingFeature.types.ts:222

Resolves the row model after grouping and aggregation have been applied.

Returns

RowModel<TFeatures, TData>

Inherited from

ts
Table_RowModels.getGroupedRowModel

getHeaderGroups()

ts
getHeaderGroups: () => HeaderGroup<TFeatures, TData>[];

Defined in: core/headers/coreHeadersFeature.types.ts:16

Builds the visible header groups for the current column tree, visibility, and pinning state.

Returns

HeaderGroup<TFeatures, TData>[]

Inherited from

Table_Headers.getHeaderGroups


getLeafHeaders()

ts
getLeafHeaders: () => Header<TFeatures, TData, unknown>[];

Defined in: core/headers/coreHeadersFeature.types.ts:29

Collects only leaf headers, excluding parent/group headers.

Returns

Header<TFeatures, TData, unknown>[]

Inherited from

Table_Headers.getLeafHeaders


getPaginatedRowModel()

ts
getPaginatedRowModel: () => RowModel<TFeatures, TData>;

Defined in: features/row-pagination/rowPaginationFeature.types.ts:126

Resolves the row model after pagination has sliced the current page.

Returns

RowModel<TFeatures, TData>

Inherited from

ts
Table_RowModels.getPaginatedRowModel

getPreExpandedRowModel()

ts
getPreExpandedRowModel: () => RowModel<TFeatures, TData>;

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

Reads the row model immediately before expansion.

Returns

RowModel<TFeatures, TData>

Inherited from

ts
Table_RowModels.getPreExpandedRowModel

getPreFilteredRowModel()

ts
getPreFilteredRowModel: () => RowModel<TFeatures, TData>;

Defined in: features/column-filtering/columnFilteringFeature.types.ts:240

Reads the row model immediately before filtering.

Returns

RowModel<TFeatures, TData>

Inherited from

ts
Table_RowModels.getPreFilteredRowModel

getPreGroupedRowModel()

ts
getPreGroupedRowModel: () => RowModel<TFeatures, TData>;

Defined in: features/column-grouping/columnGroupingFeature.types.ts:226

Reads the row model immediately before grouping.

Returns

RowModel<TFeatures, TData>

Inherited from

ts
Table_RowModels.getPreGroupedRowModel

getPrePaginatedRowModel()

ts
getPrePaginatedRowModel: () => RowModel<TFeatures, TData>;

Defined in: features/row-pagination/rowPaginationFeature.types.ts:130

Reads the row model immediately before pagination.

Returns

RowModel<TFeatures, TData>

Inherited from

ts
Table_RowModels.getPrePaginatedRowModel

getPreSortedRowModel()

ts
getPreSortedRowModel: () => RowModel<TFeatures, TData>;

Defined in: features/row-sorting/rowSortingFeature.types.ts:224

Reads the row model immediately before sorting.

Returns

RowModel<TFeatures, TData>

Inherited from

ts
Table_RowModels.getPreSortedRowModel

getRow()

ts
getRow: (id, searchAll?) => Row<TFeatures, TData>;

Defined in: core/rows/coreRowsFeature.types.ts:116

Returns the row with the given ID.

Parameters

id

string

searchAll?

boolean

Returns

Row<TFeatures, TData>

Inherited from

Table_Rows.getRow


getRowId()

ts
getRowId: (_, index, parent?) => string;

Defined in: core/rows/coreRowsFeature.types.ts:112

Parameters

_

TData

index

number

parent?

Row<TFeatures, TData>

Returns

string

Inherited from

Table_Rows.getRowId


getRowModel()

ts
getRowModel: () => RowModel<TFeatures, TData>;

Defined in: core/row-models/coreRowModelsFeature.types.ts:39

Returns the final model after all processing from other used features has been applied. This is the row model that is most commonly used for rendering.

Returns

RowModel<TFeatures, TData>

Inherited from

ts
Table_RowModels.getRowModel

getSortedRowModel()

ts
getSortedRowModel: () => RowModel<TFeatures, TData>;

Defined in: features/row-sorting/rowSortingFeature.types.ts:228

Resolves the row model after sorting has been applied.

Returns

RowModel<TFeatures, TData>

Inherited from

ts
Table_RowModels.getSortedRowModel

initialState

ts
readonly initialState: ExtractFeatureMapTypes<TFeatures>;

Defined in: core/table/coreTablesFeature.types.ts:204

This is the resolved initial state of the table.

Inherited from

Table_Table.initialState


options

ts
readonly options: TableOptions<TFeatures, TData>;

Defined in: core/table/coreTablesFeature.types.ts:208

A read-only reference to the table's current options.

Inherited from

Table_Table.options


optionsStore?

ts
readonly optional optionsStore: Atom<TableOptions<TFeatures, TData>>;

Defined in: core/table/coreTablesFeature.types.ts:214

Writable atom for table options. Only created when createOptionsStore is true on the active core reactivity bindings. Adapters that opt out keep options as plain resolved data instead of backing them with an atom.

Inherited from

Table_Table.optionsStore


reset()

ts
reset: () => void;

Defined in: core/table/coreTablesFeature.types.ts:233

Resets the table's internal base atoms to table.initialState.

Prefer feature-specific reset APIs, such as resetPagination, when a state slice may be owned by an external atom or needs that feature's blank/default reset behavior.

Returns

void

Inherited from

Table_Table.reset


setOptions()

ts
setOptions: (newOptions) => void;

Defined in: core/table/coreTablesFeature.types.ts:238

Updates the table options by applying a value or updater to the current resolved options and then merging them through options.mergeOptions.

Parameters

newOptions

Updater<TableOptions<TFeatures, TData>>

Returns

void

Inherited from

Table_Table.setOptions


store

ts
readonly store: ReadonlyStore<ExtractFeatureMapTypes<TFeatures, TableState_FeatureMap>>;

Defined in: core/table/coreTablesFeature.types.ts:219

The readonly flat store for the table state. Derives from table.atoms only; never reads external state directly.

Inherited from

Table_Table.store