In my scenario, where in page1 of ag-grid I have to display 60 records then in page2 I have to display 130 records and in page3 I have to display 110 records.
The records displayed on any specific page is not constant value it varies based on the response from the API.
I have tried to set cacheBlockSize (based on records count) & updated data source (which is required for cacheBlockSize change to reflect). But upon updating data source grid repaginates and moves to first page. So only first 60 is always visible to user.
Is there any other way to achieve variable number of records rendering in ag-grid ?