title: Ag-grid Angular 6 , Server side infinite scroll but get data from database every time , don't load entire query by api at one shot
body: <p>I am trying to implement server side pagination or Server side infinite scroll in the ag grid in the angular 6.</p>
  
  <p>Like <a href="https://www.ag-grid.com/javascript-grid-infinite-scrolling/" rel="nofollow noreferrer">https://www.ag-grid.com/javascript-grid-infinite-scrolling/</a></p>
  
  <p>but I don't see the API call in the network tab when we scroll in the ag-grid, so it means it does not call the API again and Again to fetch the set of rows,</p>
  
  <p>but for my requirement, I need a call back to API to retrieve the first 100 rows and when we scroll -> next 100 and so on, </p>
  
  <p>So, I want to pass a param as startRow and endRow to the API to fetch same from <b>DB</b> and then return to ag-grid. So main thing is I want to go the DB for every set of record through API as mediator.  </p>
  
  <p>Please help me with such a solution, it's similar to have server-side pagination that we use to do earlier days, but I want it in ag-grid.</p>