title: Custom pagesize in ag-grid
body: <p>I am using ag-grid for table in my Angular 6 application. Below is my <strong>gridOptions</strong> configuration for ag-grid.</p>
  
  <pre><code>  gridOptions: GridOptions = {
      rowBuffer: 0,
      rowSelection: "multiple",
      rowModelType: "infinite",
      cacheOverflowSize: 2,
      maxConcurrentDatasourceRequests: 2,
      infiniteInitialRowCount: 1,
      maxBlocksInCache: 2
    };
  </code></pre>
  
  <p>As going through the <a href="https://www.ag-grid.com/javascript-grid-infinite-scrolling/" rel="noreferrer">documentation</a> of ag-grid , I am unable to find custom pagesize for infinite scrolling. </p>
  
  <p>My requirement is to have page size of <strong>20</strong> i.e </p>
  
  <blockquote>
    <p><strong>startRow</strong> = <strong>0</strong> and <strong>endRow</strong> = <strong>20</strong> and <strong>pageSize</strong> = <strong>20</strong> //my-requirement</p>
  </blockquote>
  
  <p>What <strong>ag-grid</strong> provides is below:</p>
  
  <blockquote>
    <p><strong>startRow</strong> = <strong>0</strong> and <strong>endRow</strong> = <strong>100</strong> and <strong>pageSize</strong> = <strong>100</strong> //default  configuration</p>
  </blockquote>
  
  <p>Is there any way to change the default configuration of ag-grid .Can anyone help me in this.!</p>