ListView only display 200 records XE5, DataSnap - Android |
|
I have a mobil app made with XE5 that connect to to a datasnap server, in the cliente I use TSqlServerMethod-DProvider-ClientDataset to retrieve a dataset from datasnap server.
I use a Listview conected to the clientdataset through LiveBindig
The problem is that when i open the tclientdataset it's recordcount is 500 records, but the ListView only show 200 records.
some help is appreciated.
DP
|
Re: ListView only display 200 records XE5, DataSnap - Androi |
|
This is a Firemonkey/Live bindings issue. There's a thread in the Firemonkey forum that refers to this link which has some good information:
http://stackoverflow.com/questions/8591818/how-to-show-more-than-200-rows-in-tstringgrid-using-livebindings
However, since you are programming a mobile app where memory and resources may be restricted, you might not want to fill a list with 10,000 items and attached data/objects, so another approach might be more relevant such as segmenting the results into groups or adding a filter function.
HTH
Steve
|