I have a visual force page and custom controller to display order status.
I'm making a callout to a service in our servers. The process is slow to get back around 100 records. over a minute, which looks like nothing is happening for the user.
The service writers made a change that allows me to get get back partial data sets much faster than the whole set. For example "give me 20 records starting at number 40".
I'm trying to find the best user interface for this. One thought was to display the first 20 rows in a table. Then in a background process continue to load 20 records at a time, and then add them to the table as data is loaded.
Is this possible?
I'm storing the records in a list object, so that if the user refreshes the page more data could be available, but that seems clunky for the user.