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,640
  • 2
  • 18
  • 25

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
  • 6,210
  • 6
  • 21
  • 23