title: Listen to the scroll event of primeng data table
body: <p>How to listen to the scroll event of primeng data table which has fixed header. If no event available, how to add a custom event. Following is the data table properties:</p>
  
  <pre><code>&lt;p-dataTable #dt [value]="manualProcessGridData" 
                                      [(selection)]="selectedRows" 
                                      [(rows)]="rowsCountPerPage" 
                                      [paginator]="true"
                                      [pageLinks]="3" 
                                      [rowsPerPageOptions]="[5,10,20]" 
                                      [lazy]="true" 
                                      (onLazyLoad)="loadData($event,false,'')" 
                                      [(totalRecords)]="totalRecords"
                                      sortField="totalProcessingTime" 
                                      sortOrder="1" scrollable="true" 
                                      [scrollHeight]="viewHeight"&gt;
  </code></pre>