The type of data in the table rows
The type of value in the column cells
Extended column definition including metadata
Optionalmeta?: anyAdditional column configuration metadata
Returns a sorted array of unique values from the currently visible rows in the column. This excludes values from rows that are filtered out by other column filters.
Array of unique string or number values, sorted in ascending order
Returns the minimum and maximum values from the currently visible rows in the column. This excludes values from rows that are filtered out by other column filters.
Tuple containing [min, max] values
Returns a sorted array of all unique values in the column, regardless of current filters.
Array of unique string or number values, sorted in ascending order
Returns the minimum and maximum values from all rows in the column, regardless of current filters.
Tuple containing [min, max] values
Returns the display text of the column header. Handles cases where the header might be a string, function, or React element.
The header text as a string, or undefined if no header text is available
Sets the filter value for the column with a 500ms debounce. Useful for text input filters to prevent excessive filtering operations.
Sets the filter value for the column with a 500ms throttle. Useful for range filters to limit the frequency of filter updates.
Sets the visibility of the column.
Whether the column should be visible
OptionaluserUser settings associated with this column
Extended column interface with additional metadata support. Used to enhance TanStack Table columns with custom metadata.
Example