0

Is it possible to simulate infinite scrolling for json data. I have 10K records and most of the times, I see 50 at a stretch. But one request is sent to the service. Service sends 10K records but once I receive 50, I would like to show it in UI than wait for 10K records to load. Is there a trick I can employ to get data quick but continue to load the rest of the data into the object? Data can get into local storage too.

Pooran
  • 1,520
  • 2
  • 17
  • 24

1 Answers1

0

I think what you are looking for is already answered in this question.

jquery ajax, read the stream incrementally?

Hope it helps.

Community
  • 1
  • 1
Shubhanshu Mishra
  • 5,550
  • 5
  • 20
  • 23