Re: Loading a LONG list with images

2022-02-23 Thread Richard Gaskin via use-livecode
; > Probably not over a couple thousand. The images are square -- they > need to be resized to the DG template image size, but not scaled (H > vs W). > > On 2/21/22, 12:14 PM, Richard Gaskin wrote: > >> How many images? >> >> >> Dan Friedman wrote: >&

Re: Loading a LONG list with images

2022-02-22 Thread Dan Friedman via use-livecode
eb 21, 2022 at 6:07 PM Dan Friedman via use-livecode < >> use-livecode@lists.runrev.com> wrote: >> >>> Richard, >>> >>> Probably not over a couple thousand. The images are square -- they need >>> to

Re: Loading a LONG list with images

2022-02-22 Thread Dan Friedman via use-livecode
Mark, >> i.e. make sure the datagrid is only creating rows on demand, rather than >> up front, and then requesting images and updating them when they arrive How do you do that? What property do I set, or method is used to only load the displayed rows? Tom's code snippet is a WONDERFUL start

Re: Loading a LONG list with images

2022-02-22 Thread Mark Waddingham via use-livecode
On 2022-02-21 23:47, Tom Glod via use-livecode wrote: This is how i did it . I hope this helps. First to use the "numberofrecords" way of setting the datagrid data. This is key, that way you only ever trigger loading of visible rows. So I've not got much to add to Tom's method i.e. make

Re: Loading a LONG list with images

2022-02-21 Thread Tom Glod via use-livecode
mes into view. >> >> On Mon, Feb 21, 2022 at 6:07 PM Dan Friedman via use-livecode < >> use-livecode@lists.runrev.com> wrote: >> >>> Richard, >>> >>> Probably not over a couple thousand. The images are square -- they need >>> to be resiz

Re: Loading a LONG list with images

2022-02-21 Thread Tom Glod via use-livecode
DG template image size, but not scaled (H vs W). >> >> -Dan >> >> >> On 2/21/22, 12:14 PM, "use-livecode on behalf of Richard Gaskin via >> use-livecode" > use-livecode@lists.runrev.com> wrote: >> >> How many images? &

Re: Loading a LONG list with images

2022-02-21 Thread Dan Friedman via use-livecode
> > > > Dan Friedman wrote: > > > Does anyone have any answers to the issue of loading a long list > with > > images so that it loads images "as needed" like a webpage does. > > > > I

Re: Loading a LONG list with images

2022-02-21 Thread Tom Glod via use-livecode
stems > > > > > Dan Friedman wrote: > > > Does anyone have any answers to the issue of loading a long list > with > > images so that it loads images "as needed" like a webpage does. > > > > I have a DataGrid with several hundred rows

Re: Loading a LONG list with images

2022-02-21 Thread Dan Friedman via use-livecode
once made a solution for 3,000 images, but it may not scale well above 8,000 or so depending on memory and connection speed. -- Richard Gaskin Fourth World Systems Dan Friedman wrote: > Does anyone have any answers to the issue of loading a long list with

Re: Loading a LONG list with images

2022-02-21 Thread Richard Gaskin via use-livecode
How many images? I once made a solution for 3,000 images, but it may not scale well above 8,000 or so depending on memory and connection speed. -- Richard Gaskin Fourth World Systems Dan Friedman wrote: > Does anyone have any answers to the issue of loading a long list with > ima

Loading a LONG list with images

2022-02-21 Thread Dan Friedman via use-livecode
Does anyone have any answers to the issue of loading a long list with images so that it loads images "as needed" like a webpage does. I have a DataGrid with several hundred rows. Each row has a specific image that is to be displayed with that row (like a list of songs). The image