How to handle dynamic types for table rows (columns can be added or removed) - TanStack