Datagrid and iOS Native Scroller

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Locked
elanorb
Livecode Staff Member
Livecode Staff Member
Posts: 516
Joined: Fri Feb 24, 2006 9:45 am

Datagrid and iOS Native Scroller

Post by elanorb » Wed Aug 28, 2013 5:50 pm

Hi

Someone had asked for an example of using a datagrid with a native scroller. I have uploaded an example here.

This populates a datagrid, which is with a MobGUI scroller, sets the height of the datagrid to the maximum necessary for all records to be shown the resets the top of it so it is in the right place. The scroller can then scroll over the full height of the datagrid.

The method is the same as that used in Lesson 2 with the contacts field.

If there are any questions please do ask here.

Kind regards

Elanor
Elanor Buchanan
Software Developer
LiveCode

keram
Posts: 340
Joined: Fri Nov 08, 2013 4:22 am

Re: Datagrid and iOS Native Scroller

Post by keram » Thu Feb 05, 2015 2:03 am

Thanks Elanor,

How can I test that scroller script on my DG stack?
Is the code posted somewhere?

Regards,

keram
Using the latest stable version of LC Community 6.7.x on Win 7 Home Premium, 64bit

Mikey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 755
Joined: Fri Jun 27, 2008 9:00 pm

Re: Datagrid and iOS Native Scroller

Post by Mikey » Thu Feb 05, 2015 3:00 pm

Monte also has a scroller for datagrids that I believe is free.

Locked

Return to “Summer School 2013”