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 > On May 12, 2026, at 2:53 AM, jbv via use-livecode > <[email protected]> wrote: > > Hi list, > > I have a stack with 2 cards. Each card contains a custom datagrid > made of 2000 sub-groups, each sub-group containing a checkbox > and 6 fields. The content of these fields is updated via post > requests to a database on a remote server. > I also have a button on each card that allows users to go to > card 2 or back to card 1. > After the datagrid on cd 1 has been updated, it can take up to > 10 seconds to go to cd 2. Same things for cd 2 to cd 1. > But after a couple of moves back and forth, it becomes instantaneous, > and remains so until the datagrid on one of the 2 cards is updated. > > Questions : > - why such a delay to go to next card after an update of the datagrid ? > - is there a workaround ? > > Thank you in advance. > 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
