Scroller with a datagrid

Moderators: LCNeil, heatherlaine, kevinmiller, elanorb

Post Reply
pTom
Posts: 40
Joined: Wed Sep 18, 2013 10:44 pm

Scroller with a datagrid

Post by pTom » Wed Jan 08, 2014 8:29 pm

I have searched around quite a bit and tested out some things but am coming up empty on this one:

I would like for my data grid (form, not a table) to scroll by touch on a mobile device. Advice?

I have looked at and tried the coding example in the live code lessons. I have also looked in the forums and am coming up empty.

Thanks for your help!

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Scroller with a datagrid

Post by LCNeil » Thu Jan 09, 2014 1:50 pm

Hi Tom,

The following example, created by Elanor, should be able to help you with setting up a native mobile scroller for use with a datagrid-

http://forums.runrev.com/viewtopic.php?f=70&t=16741

Kind Regards,

Neil Roger
--
RunRev Support Team ~ http://www.runrev.com

pTom
Posts: 40
Joined: Wed Sep 18, 2013 10:44 pm

Re: Scroller with a datagrid

Post by pTom » Thu Jan 09, 2014 4:20 pm

Thanks, Neil, I took a look at it and noticed that her data grid is a table and not a form. I have seen elsewhere on the forum that other people have struggled with data grid forms. Should I be using a data grid table instead of a form?

If so, I learned how to import dynamically created data into a form but not a table and am noticing that a table imports data somewhat differently than a table. How could I import data from a server that is added to each week/day and the table would need to update accordingly?

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Scroller with a datagrid

Post by LCNeil » Thu Jan 09, 2014 4:35 pm

Hi Tom,

Using a form datagrid with a native scroller should not be a problem.

I have amended Elanors stack to a form datagrid and attached it to this reply

Form datagrids have worked great in you application so far and I would recommend continuing to use them as this will save having to re-script specific areas of your application.

Kind Regards,

Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
Attachments
datagridScrollerTest.livecode.zip
(241.4 KiB) Downloaded 229 times

Post Reply

Return to “idea2app and Coding School”