Mega Search
23.2 Million


Sign Up

Make a donation  
ListView only display 200 records XE5, DataSnap - Android  
News Group: embarcadero.public.delphi.database.multi-tier

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

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 2-Apr-2014, at 1:47 PM EST
From: =?Utf-8?Q?Dison_Pe=C3=B1a?=
 
Re: ListView only display 200 records XE5, DataSnap - Androi  
News Group: embarcadero.public.delphi.database.multi-tier
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

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 10-Apr-2014, at 6:54 AM EST
From: Stephen Corbett