function createTableHook<TFeatures, TTableComponents, TCellComponents, THeaderComponents>(__namedParameters): CreateTableHookResult<TFeatures, TTableComponents, TCellComponents, THeaderComponents>;Defined in: packages/vue-table/src/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.
TFeatures extends TableFeatures
TTableComponents extends Record<string, ComponentType<any>>
TCellComponents extends Record<string, ComponentType<any>>
THeaderComponents extends Record<string, ComponentType<any>>
CreateTableHookOptions<TFeatures, TTableComponents, TCellComponents, THeaderComponents>
CreateTableHookResult<TFeatures, TTableComponents, TCellComponents, THeaderComponents>
const { useAppTable, createAppColumnHelper } = createTableHook({
features,
tableComponents: {},
cellComponents: {},
headerComponents: {},
})