I believe it has to re-populate and redraw the datagrid when you switch cards. 
I don’t think there is any caching going on there. 

Bob S


> On May 12, 2026, at 9:24 AM, jbv via use-livecode 
> <[email protected]> wrote:
> 
> Le 2026-05-12 11:12, Bob Sneidar via use-livecode a écrit :
>> Are you updating the datagrid using setDataOfIndex? If so, then I believe it 
>> updates all the data, not just the visible data as it does when the datagrid 
>> updates automatically. Also, are you doing a query of the data each time the 
>> card changes?
>> Bob S
> 
> As I said, I've built a custom datagrid, so I can't use the regular datagrid 
> commands.
> Before each query, all the fields are emptied, and then, depending on the 
> number of
> results of the query, only one row (6 fields) can be filled, or up to 1800 
> rows
> (10800 fields).
> Emptying the fields and then inserting new contents is pretty fast, even for 
> sucessive
> queries on the same card. The only problem is the delay when going to the 
> next card.
> I might be wrong, but I have the impression that the engine is storing the 
> content of
> the card somewhere before switching to the next card, for faster display when 
> returning
> to the first card.
> I am using LC Community 9.6.2 on Mac OS Cataline 10.15.8.
> 
> Best,
> jbv
> 
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to