jquery - How to load and show data Asynchronously -
i using asp.net , sql server. load data database asynchronously , show data partially loaded immediately.
suppose there tons of records in query result. after 3 sec,it loads 20% have process , show 20% data immediately, not waiting complete response. know $.ajax in jquery load data async. possible process partial response, not wait complete response , show immediately.
is there way this?
suppose there tons of records in query result
you have aks yourself: end user see ton of records @ once?
you don't specify , how showing data, i'm going assume showing data in grid.
what days on such commun scenario load data using pages , fire when user scrolls grid down, can see in mobile devices , on facebook, twitter, etc...
it load first page (for example set page 20 records), load first 20 records (page 0), reach bottom, automatically load 20 more records (page 1).
this technique called infinite scroll
Comments
Post a Comment