api to select a row by id in a table - TanStack