DataGrid: load images when in view

Tom Glod tom at makeshyft.com
Fri Nov 8 13:54:53 EST 2019


Hi Dan,

To begin, using the NUmberOfRecordsProperty cancels out all performance
issues with the dg.  Using this method enables exactly what you are asking
for.

On Fri, Nov 8, 2019 at 12:29 PM Dan Friedman via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Greetings!
>
> Say you have a form DataGrid that is displaying 100 entries.  Each entry
> has an image (loaded from a server) and some text.  When you set the
> dgData, it will get all 100 images as it's building the rows.  This is
> obviously going to take some time to load.  Is there a way to have the
> DataGrid only load the row's image when that row comes into view?  This way
> it will load the images as they are needed.
>
> Thanks in advance!
> -Dan
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Office:226-706-9339
Mobile:226-706-9793



More information about the use-livecode mailing list