Table Docs
API Reference
Table API Reference
Column API Reference
Row API Reference
Cell API Reference
Header API Reference
Features API Reference
- stockFeatures
- coreFeatures
- coreCellsFeature
- coreColumnsFeature
- coreHeadersFeature
- coreRowModelsFeature
- coreRowsFeature
- coreTablesFeature
- cellSpanningFeature
- columnFilteringFeature
- columnFacetingFeature
- rowAggregationFeature
- columnGroupingFeature
- columnOrderingFeature
- columnPinningFeature
- columnResizingFeature
- columnSizingFeature
- columnVisibilityFeature
- globalFilteringFeature
- rowExpandingFeature
- rowPaginationFeature
- rowPinningFeature
- rowSelectionFeature
- rowSortingFeature
- filterFns
- sortFns
- aggregationFns
- ColumnFilter
- ColumnPinningState
- ColumnSort
- PaginationState
- RowPinningState
- columnResizingState
- FilterFn
- FilterFns
- FilterMeta
- SortFn
- SortFns
- AggregationFns
- AggregationContext
- AggregationMergeContext
- AggregationFnDef
- AggregationFnDescriptor
- AggregationValueContext
- AggregationValueResult
- constructAggregationFn
- ColumnFiltersState
- ColumnOrderState
- ColumnPinningPosition
- ColumnResizeDirection
- ColumnResizeMode
- ColumnSizingState
- ColumnVisibilityState
- ExpandedState
- GroupingState
- RowPinningPosition
- RowSelectionState
- SortDirection
- SortingState
- AggregationFnOption
- AggregationResult
- FilterFnOption
- SortFnOption
- BuiltInAggregationFn
- BuiltInFilterFn
- BuiltInSortFn
Static Functions API Reference
AI/LLM: This documentation page is available in plain markdown format at/table/latest/docs/framework/vue/reference/functions/createTableHook.md
Table API Reference
createTableHook
ts
function createTableHook<TFeatures, TTableComponents, TCellComponents, THeaderComponents>(__namedParameters): CreateTableHookResult<TFeatures, TTableComponents, TCellComponents, THeaderComponents>;Defined in: createTableHook.ts:353
Creates app-scoped Vue table helpers with features, row models, and renderable component maps pre-bound.
Use this when an app or design system wants typed useAppTable, a pre-bound column helper, and context helpers for table, cell, and header components.
Type Parameters#
TFeatures#
TFeatures extends TableFeatures
TTableComponents#
TTableComponents extends Record<string, ComponentType<any>>
TCellComponents#
TCellComponents extends Record<string, ComponentType<any>>
THeaderComponents#
THeaderComponents extends Record<string, ComponentType<any>>
Parameters#
__namedParameters#
CreateTableHookOptions<TFeatures, TTableComponents, TCellComponents, THeaderComponents>
Returns#
CreateTableHookResult<TFeatures, TTableComponents, TCellComponents, THeaderComponents>
Example#
ts
const { useAppTable, createAppColumnHelper } = createTableHook({
features,
tableComponents: {},
cellComponents: {},
headerComponents: {},
})