Hi Team,
I try to implement a virtual scroll and able to fetch data from the remote server but at the time of display on html it not rendering proper.
Please find below a link which is not working properly.
https://stackblitz.com/angular/roondjrnjgj
Thanks
Hello Purushottam,
I don't see a problem in the sample that you sent. Can you explain what is not working for you or send us the steps to reproduce the issue.
Best regards, Martin Pavlov Infragistics, Inc.
Hi Martin,
The main problem is that when scroll it fast in that case some of rest -end point request fail. Could you please update me how we can resolve it.
Please find attached file and let me know incase you need additional code.
Purushottam
This is expected. Those request are cancelled, because while user scrolls a new set of data is needed, so the virtualization cancels the previous request and generates a new one.
If you don't want so many requests to go to the server you may want to implement a local caching for the data. This approach is demonstrated in the Remote Virtualization sample here.
Best regards,Martin PavlovInfragistics, Inc.
It's not expected behavior If you can see attached image, on scrolling some request fail and some not... but when I take referece of your site, no request is failed. the same type of behavior I have to implement at my end.
You can check out the following StackBlitz sample for reference implementation: https://stackblitz.com/angular/mrdpknbylro
Best regards,
Martin Pavlov
Infragistics, Inc.