Datagridhelper iOS Scroller when using 2 Datagrids on one card

JJS jjs at
Tue Feb 12 03:01:47 EST 2019

Hi Matthias,

the DG's have their own scroller as of DG2, so you don't need to create 
that anymore.

In LC 903 there is a bug solved so that you can use other scroller 
handlers via the name of the dg scroller.

Because before you could do it via the scrollerid, but because the 
scroller id is changed every time you enter the card with the dg's this 
did not work anymore.

Check for more info 
on it.



Op 12-2-2019 om 00:49 schreef Matthias Rebbe via use-livecode:
> Hi,
> in an iOS app i need to use 2 Datagrids, lets say DG1 and DG2, on one card.
> The datagrids have the same location on the card and are shown and hided
> with a button. After adding content to DG1 i send  "DGHiOs_CreateScroller" to it to create the scroller.
> When i switch to DG2 by setting the visible of DG1 to false and the visbile for DG2 to true  and switch back after
> some time to DG1 the scroller of DG1 is not working anymore. Sending again "DGHiOS_CreateScroller" to it does not work.
> Tried also to delete the scroller of DG1 before switching to DG2 and vice versa.
> What are the correct steps to get iOS Scrollers working with each of the Datagrids?
> Is there something special i have to keep in mind?
> Regards,
> Matthias
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list