How to get a result for subRows search in a table - TanStack