native scroller on datagrid

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dbcbos
Posts: 23
Joined: Sun Jun 24, 2012 9:49 am

native scroller on datagrid

Post by dbcbos » Fri Jun 29, 2012 8:35 pm

I got a native scroller on a datagrid form style. The scrolling works, but it only shows 5 out of 9 records. Any idea how I can resolve this, if I use the livecode scroller on the datagrid it shows all 9 records. Though the livecode scroller is mostly useless on mobile devices since its to tiny.

Any ideas?

dbcbos
Posts: 23
Joined: Sun Jun 24, 2012 9:49 am

Re: native scroller on datagrid

Post by dbcbos » Sun Jul 01, 2012 9:47 am

Fixed it! I need to make a group first, put it into position and don't forget to lock the position. Then edit the group. Place a DataGrid into the group, make it as large as you want it or do it programmatically when data is inserted to calculate the height (& width) if necessary.

Grouping is a powerfull thing in LiveCode, really import to get the hang of it.

Got the idea from the previous post http://forums.runrev.com/viewtopic.php?t=8043&p=38203

Post Reply