This is a migrated thread and some comments may be shown as answers.

Appending data

0 Answers 93 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 12 Apr 2012, 09:25 PM
I want to give users an option to load n more records once they've scrolled to the bottom of a ListView.  I have a very large dataset and have set serverFiltering: true, serverPaging: false, serverGrouping: true, serverSorting: true.  What's the best way to approach this?  My ListView is currently bound to the datasource.  I'm thinking about instead declaring a local data object and using datasource's change event to append data to that local data object and purge as necessary (from the beginning once record set reaches a certain point).

Is there a more elegant approach that I am missing?  It sounds as if ListView's appendOnRefresh option is going to work the opposite way that I would like (pulling down to put data on top, whereas I want to scroll down and then click to append data on bottom).

Help appreciated

No answers yet. Maybe you can help?

Tags
Data Source
Asked by
Ryan
Top achievements
Rank 1
Share this question
or