I am slowly getting up to speed with datagrid, I understand structure, the 
scripts of the row group, can instantiate data etc.

But, am I missing something?

http://lessons.livecode.com/m/datagrid

I can't find single lesson on implementing DG on mobile.

Scrolling on mobile -- do we do it the same way as other groups?

1) turn off scroll bars

2) CreateScroller etc (mobile library)

3) Does does Datagrid have it's own "mobile magic" scroller.

I use what looks like a "hackey" way to determine if a user is clicking  on a 
group, or is scrolling the group. Is it same for the DataGrid?

if abs(the mouseH - item 1 of sStartLoc) <= 10 and abs(the mouseV - item 2 of 
sStartLoc) <= 10 then

portal_setCurrent (the short name of this card)

put the short name of the target into tRow

set the itemDelimiter to "_"

put item 1 of tRow into tLinkNo

if tLinkNo is not a number then

exit mouseup

end if

put fld (tLInkNo &"_" &"portal-link-label") into tRowName

portal_DoRowLink tRowName


BR


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to