Hey guys i stumbled about some problems with the lazy loading option of the prime ng treeTable. I need to use the lazyLoad event (Output property "onLazyLoad") without the virtual scroller behavior. Is this somehow supported by the treeTable component?
Something like this:
<p-treeTable [value]="virtualFiles" [columns]="cols" [scrollable]="true" [rows]="20"
[virtualRowHeight]="34" [lazy]="true" (onLazyLoad)="loadNodes($event)"
[totalRecords]="totalRecords" scrollHeight="400px">
</p-treeTable>
If it's not possible to use lazy loading without the virtual scroller it would be okay if I at least could prevent it from destroying the previous loaded Elements.
I already tried setting the rows-property to the length of the values-array to prevent fetching more data when scrolling upwards.
Would be great if someone could help me with this.