Currently Being Moderated
May 14, 2008 9:40 AM
I'm working on a calendar application that uses spry for
pagination. The only problem is, our data set is quite large on the
initial load. The default behavior of spry is to load the entire
data set, and then pagination through all the results. We've gotten
load times down quite significantly loading over 15,000 records,
but it's still a bit high.
What we're trying to do is have spry load the paginated
results on request, rather than as soon as the app is pulled up. In
other words, it'll grab the first 50 records, but get a count of
all records to create the pagination links. If the user clicks on
the link for, say page 2, the data set would grab the next 50
records at that point.
I thought there was a way to do this, but can't seem to find
it anywhere. Maybe I'm losing my mind as well.
Any help/suggestions anyone has, would be a HUGE help!
Thanks!