Page 1 of 1

Get a datagrid form to scroll in mobile env - SOLVED

Posted: Mon Feb 27, 2017 1:25 pm
by tomsve
I've been trying to get this to work for several days here now, without success. I don't want to loose more hair - so I ask you guys. :-)

I'm using LiveCode 8.1.3, xCode 8.2.1 with the iOS 10.2 simulator.


So I put the datagrid "dgDecks" (it's a list with decks) in a group, and tried to scroll it using mobileControlCreate "scroller", without getting it to work. I've tried to scroll it without a group since the datagrid seems to be a group of its own anyway, without success. I tried to put the datagrid in a group that is already working ("Scroller Example.livecode" that I found somewhere here), but I couldn't get it to scroll.

The datagrid should cover just a part of the card - not the whole card.

I do _see_ the iOS scroller scroll, but the datagrid form doesn't move.

Anyone have a working example of a datagrid form for use on mobile that covers just a part of the card, perhaps?

Thank you very much!
Tom

Re: Get a datagrid form to scroll in mobile env

Posted: Sat Mar 04, 2017 2:10 pm
by tomsve
I managed to solve it after some time, with the help of some code I found in the mailing list (that I didn't know existed).

The file contains a data grid style "table", but I've confirmed it works with a "form" as well, both in the simulator and on my iPhone 6.

Tom