Dynamically update column header based on filtered data - TanStack