本页还没有译文
本页 379 段还没译成Español,下面显示的是英文原文。Table_Internal
还没翻译译自英文(tanstack.com)本页 379 段都还没译
Defined in: types/Table.ts:96
Internal broad table shape used by feature implementations.
Extends
Omit<Table_Table<TFeatures,TData>,Table_InternalBroadenedKeys>.Table_Columns<TFeatures,TData>.Table_Rows<TFeatures,TData>.Table_RowModels<TFeatures,TData>.Table_Headers<TFeatures,TData>
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData = any
Properties
_cellInstanceInitFns
_cellInstanceInitFns: <TFeatures, TData, TValue>(cell) => void[];Defined in: core/table/coreTablesFeature.types.ts:167
Cache of the initCellInstanceData functions for features that define one.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
TValue
TValue extends unknown = unknown
Parameters
cell
Cell<TFeatures, TData, TValue>
Returns
void
Inherited from
Omit._cellInstanceInitFns_cellPrototype?
optional _cellPrototype?: object;Defined in: core/table/coreTablesFeature.types.ts:171
Prototype cache for Cell objects - shared by all cells in this table
Inherited from
_columnInstanceInitFns
_columnInstanceInitFns: <TFeatures, TData, TValue>(column) => void[];Defined in: core/table/coreTablesFeature.types.ts:175
Cache of the initColumnInstanceData functions for features that define one.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
TValue
TValue extends unknown = unknown
Parameters
column
Column<TFeatures, TData, TValue>
Returns
void
Inherited from
Omit._columnInstanceInitFns_columnPrototype?
optional _columnPrototype?: object;Defined in: core/table/coreTablesFeature.types.ts:181
Prototype cache for Column objects - shared by all columns in this table
Inherited from
_features
readonly _features: Partial<CoreFeatures> & TFeatures;Defined in: core/table/coreTablesFeature.types.ts:185
The features that are enabled for the table.
Inherited from
Omit._features_headerGroupInstanceInitFns
_headerGroupInstanceInitFns: <TFeatures, TData>(headerGroup) => void[];Defined in: core/table/coreTablesFeature.types.ts:189
Cache of the initHeaderGroupInstanceData functions for features that define one.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
headerGroup
HeaderGroup<TFeatures, TData>
Returns
void
Inherited from
Omit._headerGroupInstanceInitFns_headerInstanceInitFns
_headerInstanceInitFns: <TFeatures, TData, TValue>(header) => void[];Defined in: core/table/coreTablesFeature.types.ts:195
Cache of the initHeaderInstanceData functions for features that define one.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
TValue
TValue extends unknown = unknown
Parameters
header
Header<TFeatures, TData, TValue>
Returns
void
Inherited from
Omit._headerInstanceInitFns_headerPrototype?
optional _headerPrototype?: object;Defined in: core/table/coreTablesFeature.types.ts:201
Prototype cache for Header objects - shared by all headers in this table
Inherited from
_reactivity
readonly _reactivity: TableReactivityBindings;Defined in: core/table/coreTablesFeature.types.ts:163
Table reactivity bindings for interacting with TanStack Store.
Inherited from
_rowInstanceInitFns
_rowInstanceInitFns: <TFeatures, TData>(row) => void[];Defined in: core/table/coreTablesFeature.types.ts:217
Cache of the initRowInstanceData functions for features that define one.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
row
Row<TFeatures, TData>
Returns
void
Inherited from
Omit._rowInstanceInitFns_rowModelFns
_rowModelFns: RowModelFns_All<TFeatures, TData>;Defined in: types/Table.ts:107
_rowModels
_rowModels: CachedRowModel_All<TFeatures, TData>;Defined in: types/Table.ts:106
_rowPrototype?
optional _rowPrototype?: object;Defined in: core/table/coreTablesFeature.types.ts:213
Prototype cache for Row objects - shared by all rows in this table
Inherited from
atoms
atoms: Atoms<TFeatures> & Atoms_All;Defined in: types/Table.ts:116
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).
Overrides
Omit.atomsbaseAtoms
baseAtoms: BaseAtoms<TFeatures> & BaseAtoms_All;Defined in: types/Table.ts:115
The internal writable atoms for each TableState slice. This is the library's
single write surface — all state mutations from features land here.
Overrides
Omit.baseAtomsgetAllColumns
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
getAllFlatColumns
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
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
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
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
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
getCoreRowModel
getCoreRowModel: () => RowModel<TFeatures, TData>;Defined in: core/row-models/coreRowModelsFeature.types.ts:34
Returns the core row model before any processing has been applied.
Returns
RowModel<TFeatures, TData>
Inherited from
Table_RowModels.getCoreRowModelgetDefaultColumnDef
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
getExpandedRowModel: () => RowModel<TFeatures, TData>;Defined in: features/row-expanding/rowExpandingFeature.types.ts:135
Resolves the row model after expanded rows have been flattened into view.
Returns
RowModel<TFeatures, TData>
Inherited from
Table_RowModels.getExpandedRowModelgetFacetedMinMaxValues
getFacetedMinMaxValues: () => [number, number] | undefined;Defined in: features/column-faceting/columnFacetingFeature.types.ts:35
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
Table_RowModels.getFacetedMinMaxValuesgetFacetedRowModel
getFacetedRowModel: () => RowModel<TFeatures, TData>;Defined in: features/column-faceting/columnFacetingFeature.types.ts:41
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
Table_RowModels.getFacetedRowModelgetFacetedUniqueValues
getFacetedUniqueValues: () => Map<any, number>;Defined in: features/column-faceting/columnFacetingFeature.types.ts:47
Computes unique facet values and occurrence counts.
Requires a facetedUniqueValues row-model factory on the features option.
Returns
Map<any, number>
Inherited from
Table_RowModels.getFacetedUniqueValuesgetFilteredRowModel
getFilteredRowModel: () => RowModel<TFeatures, TData>;Defined in: features/column-filtering/columnFilteringFeature.types.ts:301
Resolves the row model after column and global filters have been applied.
Returns
RowModel<TFeatures, TData>
Inherited from
Table_RowModels.getFilteredRowModelgetFlatHeaders
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
getFooterGroups
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
getGroupedRowModel
getGroupedRowModel: () => RowModel<TFeatures, TData>;Defined in: features/column-grouping/columnGroupingFeature.types.ts:150
Resolves the row model after grouping has been applied.
Returns
RowModel<TFeatures, TData>
Inherited from
Table_RowModels.getGroupedRowModelgetHeaderGroups
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
getLeafHeaders
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
getMaxSubRowDepth
getMaxSubRowDepth: () => number;Defined in: core/rows/coreRowsFeature.types.ts:138
Returns the deepest structural row depth in the core row model.
Root rows are depth 0, direct sub-rows are depth 1, and so on.
Returns
number
Inherited from
getPaginatedRowModel
getPaginatedRowModel: () => RowModel<TFeatures, TData>;Defined in: features/row-pagination/rowPaginationFeature.types.ts:141
Resolves the row model after pagination has sliced the current page.
Returns
RowModel<TFeatures, TData>
Inherited from
Table_RowModels.getPaginatedRowModelgetPreExpandedRowModel
getPreExpandedRowModel: () => RowModel<TFeatures, TData>;Defined in: features/row-expanding/rowExpandingFeature.types.ts:139
Reads the row model immediately before expansion.
Returns
RowModel<TFeatures, TData>
Inherited from
Table_RowModels.getPreExpandedRowModelgetPreFilteredRowModel
getPreFilteredRowModel: () => RowModel<TFeatures, TData>;Defined in: features/column-filtering/columnFilteringFeature.types.ts:305
Reads the row model immediately before filtering.
Returns
RowModel<TFeatures, TData>
Inherited from
Table_RowModels.getPreFilteredRowModelgetPreGroupedRowModel
getPreGroupedRowModel: () => RowModel<TFeatures, TData>;Defined in: features/column-grouping/columnGroupingFeature.types.ts:154
Reads the row model immediately before grouping.
Returns
RowModel<TFeatures, TData>
Inherited from
Table_RowModels.getPreGroupedRowModelgetPrePaginatedRowModel
getPrePaginatedRowModel: () => RowModel<TFeatures, TData>;Defined in: features/row-pagination/rowPaginationFeature.types.ts:145
Reads the row model immediately before pagination.
Returns
RowModel<TFeatures, TData>
Inherited from
Table_RowModels.getPrePaginatedRowModelgetPreSortedRowModel
getPreSortedRowModel: () => RowModel<TFeatures, TData>;Defined in: features/row-sorting/rowSortingFeature.types.ts:297
Reads the row model immediately before sorting.
Returns
RowModel<TFeatures, TData>
Inherited from
Table_RowModels.getPreSortedRowModelgetRow
getRow: (id, searchAll?) => Row<TFeatures, TData>;Defined in: core/rows/coreRowsFeature.types.ts:153
Returns the row with the given ID.
Parameters
id
string
searchAll?
boolean
Returns
Row<TFeatures, TData>
Inherited from
getRowId
getRowId: (_, index, parent?) => string;Defined in: core/rows/coreRowsFeature.types.ts:149
Returns the row id for a given row.
Parameters
_
TData
index
number
parent?
Row<TFeatures, TData>
Returns
string
Inherited from
getRowModel
getRowModel: () => RowModel<TFeatures, TData>;Defined in: core/row-models/coreRowModelsFeature.types.ts:38
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
Table_RowModels.getRowModelgetRowsInDisplayOrder
getRowsInDisplayOrder: () => Row<TFeatures, TData>[];Defined in: core/rows/coreRowsFeature.types.ts:145
Returns the rows in the current display order and assigns their display
indexes. When expanded rows bypass pagination, expanded descendants are
included in this order. This is the memoized source for
row.getDisplayIndex().
Returns
Row<TFeatures, TData>[]
Inherited from
Table_Rows.getRowsInDisplayOrder
getSortedRowModel
getSortedRowModel: () => RowModel<TFeatures, TData>;Defined in: features/row-sorting/rowSortingFeature.types.ts:301
Resolves the row model after sorting has been applied.
Returns
RowModel<TFeatures, TData>
Inherited from
Table_RowModels.getSortedRowModelinitialState
initialState: ExtractFeatureMapTypes<TFeatures, TableState_FeatureMap> & TableState_All;Defined in: types/Table.ts:114
options
options: object & DebugKeysFor<CoreFeatures & TableFeatures> & TableOptions_Core<TFeatures, TData> & Partial<TableOptions_RowAggregation & TableOptions_CellSelection<TFeatures, TData> & TableOptions_CellSpanning & TableOptions_ColumnFiltering<TFeatures, TData> & TableOptions_ColumnGrouping & TableOptions_ColumnOrdering & TableOptions_ColumnPinning & TableOptions_ColumnResizing & TableOptions_ColumnSizing & TableOptions_ColumnVisibility & TableOptions_GlobalFiltering<TFeatures, TData> & TableOptions_RowExpanding<TFeatures, TData> & TableOptions_RowPagination & TableOptions_RowPinning<TFeatures, TData> & TableOptions_RowSelection<TFeatures, TData> & TableOptions_RowSorting> & object;Defined in: types/Table.ts:108
Type Declaration
debugAll?
optional debugAll?: boolean;debugCache?
optional debugCache?: boolean;debugCells?
optional debugCells?: boolean;debugColumns?
optional debugColumns?: boolean;debugHeaders?
optional debugHeaders?: boolean;debugRows?
optional debugRows?: boolean;debugTable?
optional debugTable?: boolean;Type Declaration
atoms?
optional atoms?: Partial<{
cellSelection?: Atom<CellSelectionState>;
columnFilters?: Atom<ColumnFiltersState>;
columnOrder?: Atom<ColumnOrderState>;
columnPinning?: Atom<ColumnPinningState>;
columnResizing?: Atom<columnResizingState>;
columnSizing?: Atom<ColumnSizingState>;
columnVisibility?: Atom<ColumnVisibilityState>;
expanded?: Atom<ExpandedState>;
globalFilter?: Atom<any>;
grouping?: Atom<GroupingState>;
pagination?: Atom<PaginationState>;
rowPinning?: Atom<RowPinningState>;
rowSelection?: Atom<RowSelectionState>;
sorting?: Atom<SortingState>;
}>;initialState?
optional initialState?: TableState_All;state?
optional state?: TableState_All;optionsStore?
readonly optional optionsStore?: Atom<TableOptions<TFeatures, TData>>;Defined in: core/table/coreTablesFeature.types.ts:242
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
Omit.optionsStorereset
reset: () => void;Defined in: core/table/coreTablesFeature.types.ts:262
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. After resetting internal atoms, this also invokes feature
reset hooks for mutable, transient table-instance data.
Returns
void
Inherited from
Omit.resetsetOptions
setOptions: (newOptions) => void;Defined in: core/table/coreTablesFeature.types.ts:267
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
Omit.setOptionsstore
store: ReadonlyStore<ExtractFeatureMapTypes<TFeatures, TableState_FeatureMap>> & ReadonlyStore<TableState_All>;Defined in: types/Table.ts:117