Table Docs
API Reference
Table API Reference
- Table
- TableOptions
- TableState
- TableMeta
- TableFeature
- TableFeatures
- StockFeatures
- CoreFeatures
- BaseAtoms
- Atoms
- ExternalAtoms
- constructTable
- tableOptions
- tableFeatures
- getInitialTableState
- OnChangeFn
- Updater
- DebugOptions
- injectTable
- createTableHook
- AngularTable
- AppAngularTable
- CreateTableHookResult
- CreateTableContextOptions
- flexRenderComponent
- FlexRender
- TanStackTable
- injectTableContext
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/angular/reference/functions/flexRenderComponent.md
Table API Reference
flexRenderComponent
ts
function flexRenderComponent<TComponent>(component, options?): FlexRenderComponent<TComponent>;Defined in: packages/angular-table/src/flex-render/flexRenderComponent.ts:184
Helper function to create a FlexRenderComponent instance, with better type-safety.
Type Parameters#
TComponent#
TComponent = any
Parameters#
component#
Type<TComponent>
options?#
FlexRenderOptions<Inputs<TComponent>, Outputs<TComponent>>
Returns#
FlexRenderComponent<TComponent>
Example#
ts
import {flexRenderComponent} from '@tanstack/angular-table'
import {inputBinding, outputBinding} from '@angular/core';
const columns = [
{
cell: ({ row }) => {
return flexRenderComponent(MyComponent, {
inputs: { value: mySignalValue() },
outputs: { valueChange: (val) => {} }
// or using angular native createComponent#binding api
bindings: [
inputBinding('value', mySignalValue),
outputBinding('valueChange', value => {
console.log("my value changed to", value)
})
]
})
},
},
]