Page 1 of 1

p-virtualScroller loadingItem

Posted: 03 Nov 2019, 21:24
by lenpino
I created a virtual scroller PWA and works fine, but I have the following problem.

When the paging event fires and I call the server, if this returns cero elements I get the loadingItem template.

The way I implemented the call was using a service and on the scroller component I listen on the onInit method for the response and update the properties accordinly.

Is there a way to stop the itemLoading template from firing? or another way to update the properties?

Thank you!