title: Ag-Grid: Compilation Error [ts] Property 'rowsToDisplay' does not exist on type 'IRowModel'
body: <p>I am using Ag-grid in my Angular project. </p>
  
  <p>Below is the code: </p>
  
  <pre><code>var displayModel = this.gridOptions.api.getModel();
  var rowNode = displayModel.rowsToDisplay[params.rowIndex];
  </code></pre>
  
  <p>Error is thrown at <code>rowsToDisplay</code></p>
  
  <pre><code>TS2339: Property 'rowsToDisplay' does not exist on type 'IRowModel'.
  </code></pre>
  
  <p>I am able to run it successfully, but just not able to compile. </p>
  
  <p>Did I miss importing anything? I am using v17 of ag-grid community version. </p>
  
  <p><strong>To share some background</strong></p>
  
  <p>I use rowsToDisplay, because I want to get the row data by Index, AFTER sorting. the original <code>gridOptions.api.getRowNode</code> will not work for me because it does not consider <code>sorting</code> which will reshuffle the index numbers...correct me if i'm wrong. </p>