DATAGRID: slow scrolling even in the IDE

Ken Corey ken at kencorey.com
Mon Jun 4 18:16:58 EDT 2012


On 04/06/2012 22:52, Matthias Rebbe wrote:
> for an iOS app i need the possibility to show several records, each with one image  and 4 text fields.
>
> I am now experimenting in the ide to find out how to do that.
> I thought a datagrid form might be the right solution for that.
>
> The following happens in the ide. I did not try under iOS, but it i am sure it´s the same.
> My row template contains 3 fields and one image (fixed size 60x60).
> The image (each about 15bk) is fetched from  a web server.   So i set the filename of the image to the  "http:.." url.
> When i scroll the records the scrolling stops several times, although all images seemed to be loaded.
> When i use local files then the scrolling is smooth.
> Is there something i can do?

Surely you don't want to fetch an image (even a small one) each time it 
needs to be displayed.

Why not download the images to specialFolderPath(documents), at which 
point you're local, so you can point your datagrid at them there?

-Ken




More information about the use-livecode mailing list