It seems as though each time I scroll the (onLazyLoad) event should get triggered and call my function where I can then use $event to request data from my REST server, but my function only gets called once when the page first loads.
Code: Select all
<p-dataScroller [value]="values" [rows]="10" [paginator]="true" (onLazyLoad)="loadData($event)" [lazy]="true">