I implemented the above solution using useLazyQuery of rtk query. I am facing an issue where when I invalidate tag for this api on create/update/delete to get updated data in the table. The api is getting called but it's not updating the data in table as it is not being called through serverSideDataSource.
Does anyone know how to solve this?