TanStack
Table
alpha
alpha
Alpha
Try TanStack CLI
Search...
K
Auto
Log In
Start
RC
Start
RC
Router
Router
Query
Query
Table
Table
DB
beta
DB
beta
AI
alpha
AI
alpha
Form
new
Form
new
Virtual
Virtual
Pacer
beta
Pacer
beta
Hotkeys
alpha
Hotkeys
alpha
Store
alpha
Store
alpha
Devtools
alpha
Devtools
alpha
CLI
alpha
CLI
alpha
More Libraries
More Libraries
Builder
Alpha
Builder
Alpha
Feed
Beta
Feed
Beta
Maintainers
Maintainers
Partners
Partners
Showcase
Showcase
Blog
Blog
Learn
NEW
Learn
NEW
Support
Support
Stats
Stats
Discord
Discord
Merch
Merch
GitHub
GitHub
Ethos
Ethos
Tenets
Tenets
Brand Guide
Brand Guide
Docs
Partners
React
alpha
Search...
K
Menu
Home
Frameworks
Contributors
NPM Stats
GitHub
Discord
Getting Started
Introduction
Overview
Installation
FAQ
React Table Adapter
createTableHook Guide
Migrating to V9
useLegacyTable Guide
Core Guides
Data
Column Defs
Table Instance
Row Models
Rows
Cells
Header Groups
Headers
Columns
Table State
Feature Guides
Column Ordering
Column Pinning
Column Sizing
Column Visibility
Column Filtering
Global Filtering
Fuzzy Filtering
Column Faceting
Global Faceting
Grouping
Expanding
Pagination
Row Pinning
Row Selection
Sorting
Virtualization
Custom Features
API Reference
Core API Reference
React API Reference
Table API Reference
Table
Table_Core
Table_CoreProperties
Table_Table
Table_Columns
Table_Rows
Table_Headers
Table_Plugins
TableOptions
TableOptions_All
TableOptions_Core
TableOptions_Table
TableOptions_Columns
TableOptions_Rows
TableOptions_Cell
TableOptions_Plugins
TableState
TableState_All
TableState_Plugins
TableMeta
TableFeature
TableFeatures
StockFeatures
CoreFeatures
constructTable
constructTableHelper
createTableStore
tableOptions
tableFeatures
getInitialTableState
table_setOptions
table_mergeOptions
table_reset
table_getRowModel
table_getRow
table_getRowCount
table_getRowId
TableHelperOptions
TableHelper_Core
OnChangeFn
Updater
DebugOptions
useTable
createTableHook
ReactTable
AppReactTable
CreateTableHookOptions
Subscribe
SubscribeProps
FlexRender
flexRender
FlexRenderProps
Renderable
AppTableComponent
AppTablePropsWithSelector
AppTablePropsWithoutSelector
Column API Reference
Column
Column_Core
Column_CoreProperties
Column_Column
Column_Plugins
ColumnDef
ColumnDefBase
AccessorColumnDef
DisplayColumnDef
GroupColumnDef
ColumnDefTemplate
ColumnHelper
ColumnDefaultOptions
ColumnMeta
createColumnHelper
constructColumn
column_getFlatColumns
column_getLeafColumns
column_getIndex
column_getIsFirstColumn
column_getIsLastColumn
column_getSize
column_getStart
column_getAfter
AccessorFn
DeepKeys
DeepValue
AppColumnHelper
Row API Reference
Row
Row_Core
Row_CoreProperties
Row_Row
Row_Plugins
RowData
RowModel
constructRow
row_getValue
row_getUniqueValues
row_renderValue
row_getAllCells
row_getAllCellsByColumnId
row_getVisibleCells
row_getLeftVisibleCells
row_getCenterVisibleCells
row_getRightVisibleCells
row_getAllVisibleCells
row_getLeafRows
row_getParentRow
row_getParentRows
RowModelFns
RowModelFns_Core
RowModelFns_Plugins
createCoreRowModel
createFilteredRowModel
createSortedRowModel
createGroupedRowModel
createExpandedRowModel
createPaginatedRowModel
createFacetedRowModel
createFacetedMinMaxValues
createFacetedUniqueValues
Table_RowModels_Core
Table_RowModels_Filtered
Table_RowModels_Sorted
Table_RowModels_Grouped
Table_RowModels_Expanded
Table_RowModels_Paginated
Table_RowModels_Faceted
Cell API Reference
Cell
Cell_Core
Cell_CoreProperties
Cell_Cell
Cell_ColumnGrouping
Cell_Plugins
CellContext
CellData
constructCell
cell_getContext
cell_getValue
cell_renderValue
cell_getIsGrouped
cell_getIsPlaceholder
cell_getIsAggregated
AppCellContext
AppCellComponent
AppCellPropsWithSelector
AppCellPropsWithoutSelector
Header API Reference
Header
Header_Core
Header_CoreProperties
Header_Header
Header_Plugins
HeaderGroup
HeaderGroup_Core
HeaderGroup_Header
HeaderGroup_Plugins
HeaderContext
constructHeader
buildHeaderGroups
header_getContext
header_getLeafHeaders
header_getSize
header_getStart
header_getResizeHandler
table_getHeaderGroups
table_getLeftHeaderGroups
table_getCenterHeaderGroups
table_getRightHeaderGroups
table_getFooterGroups
table_getLeftFooterGroups
table_getCenterFooterGroups
table_getRightFooterGroups
table_getFlatHeaders
table_getLeftFlatHeaders
table_getCenterFlatHeaders
table_getRightFlatHeaders
table_getLeafHeaders
table_getLeftLeafHeaders
table_getCenterLeafHeaders
table_getRightLeafHeaders
AppHeaderContext
AppHeaderComponent
AppHeaderPropsWithSelector
AppHeaderPropsWithoutSelector
Features API Reference
stockFeatures
coreFeatures
coreCellsFeature
coreColumnsFeature
coreHeadersFeature
coreRowModelsFeature
coreRowsFeature
coreTablesFeature
columnFilteringFeature
columnFacetingFeature
columnGroupingFeature
columnOrderingFeature
columnPinningFeature
columnResizingFeature
columnSizingFeature
columnVisibilityFeature
globalFilteringFeature
rowExpandingFeature
rowPaginationFeature
rowPinningFeature
rowSelectionFeature
rowSortingFeature
Column_ColumnFiltering
Column_ColumnFaceting
Column_ColumnGrouping
Column_ColumnOrdering
Column_ColumnPinning
Column_ColumnResizing
Column_ColumnSizing
Column_ColumnVisibility
Column_GlobalFiltering
Column_RowSorting
Table_ColumnFiltering
Table_ColumnFaceting
Table_ColumnGrouping
Table_ColumnOrdering
Table_ColumnPinning
Table_ColumnResizing
Table_ColumnSizing
Table_ColumnVisibility
Table_GlobalFiltering
Table_RowExpanding
Table_RowPagination
Table_RowPinning
Table_RowSelection
Table_RowSorting
Row_ColumnFiltering
Row_ColumnGrouping
Row_ColumnPinning
Row_ColumnVisibility
Row_RowExpanding
Row_RowPinning
Row_RowSelection
Header_ColumnResizing
Header_ColumnSizing
TableOptions_ColumnFiltering
TableOptions_ColumnGrouping
TableOptions_ColumnOrdering
TableOptions_ColumnPinning
TableOptions_ColumnResizing
TableOptions_ColumnSizing
TableOptions_ColumnVisibility
TableOptions_GlobalFiltering
TableOptions_RowExpanding
TableOptions_RowPagination
TableOptions_RowPinning
TableOptions_RowSelection
TableOptions_RowSorting
TableState_ColumnFiltering
TableState_ColumnGrouping
TableState_ColumnOrdering
TableState_ColumnPinning
TableState_ColumnResizing
TableState_ColumnSizing
TableState_ColumnVisibility
TableState_GlobalFiltering
TableState_RowExpanding
TableState_RowPagination
TableState_RowPinning
TableState_RowSelection
TableState_RowSorting
ColumnDef_ColumnFiltering
ColumnDef_ColumnGrouping
ColumnDef_ColumnPinning
ColumnDef_ColumnResizing
ColumnDef_ColumnSizing
ColumnDef_ColumnVisibility
ColumnDef_GlobalFiltering
ColumnDef_RowSorting
ColumnDef_Plugins
ColumnPinningState
ColumnSort
ColumnFilter
PaginationState
RowPinningState
columnResizingState
ColumnFiltersState
ColumnOrderState
ColumnSizingState
ColumnVisibilityState
ExpandedState
GroupingState
RowSelectionState
SortingState
FilterFn
FilterFns
FilterMeta
SortFn
SortFns
AggregationFns
filterFns
sortFns
aggregationFns
Legacy API Reference
Legacy API Overview
useLegacyTable
legacyCreateColumnHelper
getCoreRowModel
getFilteredRowModel
getSortedRowModel
getGroupedRowModel
getExpandedRowModel
getPaginationRowModel
getFacetedRowModel
getFacetedMinMaxValues
getFacetedUniqueValues
LegacyRowModelOptions
LegacyTable
LegacyTableOptions
LegacyReactTable
LegacyColumnDef
LegacyColumn
LegacyRow
LegacyCell
LegacyHeader
LegacyHeaderGroup
Enterprise
AG Grid
Basic Examples
Basic (useTable)
Basic (useAppTable)
Basic (useLegacyTable)
Basic (External State)
Basic (External Store)
Shadcn Basic
Header Groups
Feature Examples
Column Filters
Column Filters (Faceted)
Fuzzy Search Filters
Column Ordering
Column Ordering (DnD)
Column Pinning
Column Pinning (Split)
Sticky Column Pinning
Column Sizing
Column Resizing
Performant Column Resizing
Column Visibility
Expanding
Grouping
Pagination
Row DnD
Row Pinning
Row Selection
Sorting
Specialized Examples
Composable Tables
Custom Plugin
Sub Components
With TanStack Virtual - Columns
With TanStack Virtual - Columns (Exp)
With TanStack Virtual - Rows
With TanStack Virtual - Rows (Exp)
With TanStack Virtual - Infinite Scrolling
With TanStack Form
With TanStack Query
With TanStack Router
Kitchen Sink
Kitchen Sink (Shadcn)
alpha
React
alpha
Menu
Home
Frameworks
Contributors
NPM Stats
GitHub
Discord
Getting Started
Introduction
Overview
Installation
FAQ
React Table Adapter
createTableHook Guide
Migrating to V9
useLegacyTable Guide
Core Guides
Data
Column Defs
Table Instance
Row Models
Rows
Cells
Header Groups
Headers
Columns
Table State
Feature Guides
Column Ordering
Column Pinning
Column Sizing
Column Visibility
Column Filtering
Global Filtering
Fuzzy Filtering
Column Faceting
Global Faceting
Grouping
Expanding
Pagination
Row Pinning
Row Selection
Sorting
Virtualization
Custom Features
API Reference
Core API Reference
React API Reference
Table API Reference
Table
Table_Core
Table_CoreProperties
Table_Table
Table_Columns
Table_Rows
Table_Headers
Table_Plugins
TableOptions
TableOptions_All
TableOptions_Core
TableOptions_Table
TableOptions_Columns
TableOptions_Rows
TableOptions_Cell
TableOptions_Plugins
TableState
TableState_All
TableState_Plugins
TableMeta
TableFeature
TableFeatures
StockFeatures
CoreFeatures
constructTable
constructTableHelper
createTableStore
tableOptions
tableFeatures
getInitialTableState
table_setOptions
table_mergeOptions
table_reset
table_getRowModel
table_getRow
table_getRowCount
table_getRowId
TableHelperOptions
TableHelper_Core
OnChangeFn
Updater
DebugOptions
useTable
createTableHook
ReactTable
AppReactTable
CreateTableHookOptions
Subscribe
SubscribeProps
FlexRender
flexRender
FlexRenderProps
Renderable
AppTableComponent
AppTablePropsWithSelector
AppTablePropsWithoutSelector
Column API Reference
Column
Column_Core
Column_CoreProperties
Column_Column
Column_Plugins
ColumnDef
ColumnDefBase
AccessorColumnDef
DisplayColumnDef
GroupColumnDef
ColumnDefTemplate
ColumnHelper
ColumnDefaultOptions
ColumnMeta
createColumnHelper
constructColumn
column_getFlatColumns
column_getLeafColumns
column_getIndex
column_getIsFirstColumn
column_getIsLastColumn
column_getSize
column_getStart
column_getAfter
AccessorFn
DeepKeys
DeepValue
AppColumnHelper
Row API Reference
Row
Row_Core
Row_CoreProperties
Row_Row
Row_Plugins
RowData
RowModel
constructRow
row_getValue
row_getUniqueValues
row_renderValue
row_getAllCells
row_getAllCellsByColumnId
row_getVisibleCells
row_getLeftVisibleCells
row_getCenterVisibleCells
row_getRightVisibleCells
row_getAllVisibleCells
row_getLeafRows
row_getParentRow
row_getParentRows
RowModelFns
RowModelFns_Core
RowModelFns_Plugins
createCoreRowModel
createFilteredRowModel
createSortedRowModel
createGroupedRowModel
createExpandedRowModel
createPaginatedRowModel
createFacetedRowModel
createFacetedMinMaxValues
createFacetedUniqueValues
Table_RowModels_Core
Table_RowModels_Filtered
Table_RowModels_Sorted
Table_RowModels_Grouped
Table_RowModels_Expanded
Table_RowModels_Paginated
Table_RowModels_Faceted
Cell API Reference
Cell
Cell_Core
Cell_CoreProperties
Cell_Cell
Cell_ColumnGrouping
Cell_Plugins
CellContext
CellData
constructCell
cell_getContext
cell_getValue
cell_renderValue
cell_getIsGrouped
cell_getIsPlaceholder
cell_getIsAggregated
AppCellContext
AppCellComponent
AppCellPropsWithSelector
AppCellPropsWithoutSelector
Header API Reference
Header
Header_Core
Header_CoreProperties
Header_Header
Header_Plugins
HeaderGroup
HeaderGroup_Core
HeaderGroup_Header
HeaderGroup_Plugins
HeaderContext
constructHeader
buildHeaderGroups
header_getContext
header_getLeafHeaders
header_getSize
header_getStart
header_getResizeHandler
table_getHeaderGroups
table_getLeftHeaderGroups
table_getCenterHeaderGroups
table_getRightHeaderGroups
table_getFooterGroups
table_getLeftFooterGroups
table_getCenterFooterGroups
table_getRightFooterGroups
table_getFlatHeaders
table_getLeftFlatHeaders
table_getCenterFlatHeaders
table_getRightFlatHeaders
table_getLeafHeaders
table_getLeftLeafHeaders
table_getCenterLeafHeaders
table_getRightLeafHeaders
AppHeaderContext
AppHeaderComponent
AppHeaderPropsWithSelector
AppHeaderPropsWithoutSelector
Features API Reference
stockFeatures
coreFeatures
coreCellsFeature
coreColumnsFeature
coreHeadersFeature
coreRowModelsFeature
coreRowsFeature
coreTablesFeature
columnFilteringFeature
columnFacetingFeature
columnGroupingFeature
columnOrderingFeature
columnPinningFeature
columnResizingFeature
columnSizingFeature
columnVisibilityFeature
globalFilteringFeature
rowExpandingFeature
rowPaginationFeature
rowPinningFeature
rowSelectionFeature
rowSortingFeature
Column_ColumnFiltering
Column_ColumnFaceting
Column_ColumnGrouping
Column_ColumnOrdering
Column_ColumnPinning
Column_ColumnResizing
Column_ColumnSizing
Column_ColumnVisibility
Column_GlobalFiltering
Column_RowSorting
Table_ColumnFiltering
Table_ColumnFaceting
Table_ColumnGrouping
Table_ColumnOrdering
Table_ColumnPinning
Table_ColumnResizing
Table_ColumnSizing
Table_ColumnVisibility
Table_GlobalFiltering
Table_RowExpanding
Table_RowPagination
Table_RowPinning
Table_RowSelection
Table_RowSorting
Row_ColumnFiltering
Row_ColumnGrouping
Row_ColumnPinning
Row_ColumnVisibility
Row_RowExpanding
Row_RowPinning
Row_RowSelection
Header_ColumnResizing
Header_ColumnSizing
TableOptions_ColumnFiltering
TableOptions_ColumnGrouping
TableOptions_ColumnOrdering
TableOptions_ColumnPinning
TableOptions_ColumnResizing
TableOptions_ColumnSizing
TableOptions_ColumnVisibility
TableOptions_GlobalFiltering
TableOptions_RowExpanding
TableOptions_RowPagination
TableOptions_RowPinning
TableOptions_RowSelection
TableOptions_RowSorting
TableState_ColumnFiltering
TableState_ColumnGrouping
TableState_ColumnOrdering
TableState_ColumnPinning
TableState_ColumnResizing
TableState_ColumnSizing
TableState_ColumnVisibility
TableState_GlobalFiltering
TableState_RowExpanding
TableState_RowPagination
TableState_RowPinning
TableState_RowSelection
TableState_RowSorting
ColumnDef_ColumnFiltering
ColumnDef_ColumnGrouping
ColumnDef_ColumnPinning
ColumnDef_ColumnResizing
ColumnDef_ColumnSizing
ColumnDef_ColumnVisibility
ColumnDef_GlobalFiltering
ColumnDef_RowSorting
ColumnDef_Plugins
ColumnPinningState
ColumnSort
ColumnFilter
PaginationState
RowPinningState
columnResizingState
ColumnFiltersState
ColumnOrderState
ColumnSizingState
ColumnVisibilityState
ExpandedState
GroupingState
RowSelectionState
SortingState
FilterFn
FilterFns
FilterMeta
SortFn
SortFns
AggregationFns
filterFns
sortFns
aggregationFns
Legacy API Reference
Legacy API Overview
useLegacyTable
legacyCreateColumnHelper
getCoreRowModel
getFilteredRowModel
getSortedRowModel
getGroupedRowModel
getExpandedRowModel
getPaginationRowModel
getFacetedRowModel
getFacetedMinMaxValues
getFacetedUniqueValues
LegacyRowModelOptions
LegacyTable
LegacyTableOptions
LegacyReactTable
LegacyColumnDef
LegacyColumn
LegacyRow
LegacyCell
LegacyHeader
LegacyHeaderGroup
Enterprise
AG Grid
Basic Examples
Basic (useTable)
Basic (useAppTable)
Basic (useLegacyTable)
Basic (External State)
Basic (External Store)
Shadcn Basic
Header Groups
Feature Examples
Column Filters
Column Filters (Faceted)
Fuzzy Search Filters
Column Ordering
Column Ordering (DnD)
Column Pinning
Column Pinning (Split)
Sticky Column Pinning
Column Sizing
Column Resizing
Performant Column Resizing
Column Visibility
Expanding
Grouping
Pagination
Row DnD
Row Pinning
Row Selection
Sorting
Specialized Examples
Composable Tables
Custom Plugin
Sub Components
With TanStack Virtual - Columns
With TanStack Virtual - Columns (Exp)
With TanStack Virtual - Rows
With TanStack Virtual - Rows (Exp)
With TanStack Virtual - Infinite Scrolling
With TanStack Form
With TanStack Query
With TanStack Router
Kitchen Sink
Kitchen Sink (Shadcn)
AI/LLM: This documentation page is available in plain markdown format at/table/alpha/docs/reference/type-aliases/OnChangeFn.md
Learn about TanStack Ads
Hide Ads
Table API Reference
On this page
OnChangeFn
Copy page
Type Alias: OnChangeFn()<T>
ts
type OnChangeFn<T> = (updaterOrValue) => void;
Defined in:
types/type-utils.ts:3
Type Parameters
T
T
Parameters
updaterOrValue
Updater
<
T
>
Returns
void
Edit on GitHub
Previous
TableHelper_Core
Next
Updater
On this page
Type Alias: OnChangeFn()
Type Parameters
T
Parameters
updaterOrValue
Returns
Learn about TanStack Ads
Hide Ads
Partners
Become a Partner
Learn about TanStack Ads
Hide Ads