resizing datagrids on mobile

Ralph DiMola rdimola at evergreeninfo.net
Mon Oct 1 12:55:47 EDT 2012


I have never used datagrid. When I first got LC I created one and saw all
the created objects and ran away crying like a 2 year old after the candy
was taken away. That being said. Could someone send me a stack with working
datagrid. I would like to test my resizing library with a real-world
datagrid LC app.

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net


-----Original Message-----
From: use-livecode-bounces at lists.runrev.com
[mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar
Sent: Monday, October 01, 2012 12:06 PM
To: How to use LiveCode
Subject: Re: resizing datagrids on mobile

We have always had that. Simply include in your array the data you want
hidden, but don't include the column in the column definition. access the
hidden data from the array. 

put "This is a test" into myArray[1]["column 1"] put "I'm hidden" into
myArray[1]["column 2"] set the dgprop["columns"] of group "myDatagrid" to
"column 1"
set the dgData of group "myDatagrid" to myArray

Bob


On Sep 30, 2012, at 3:14 PM, Richard Gaskin wrote:

> But for simple lists, unless you're displaying financial data the native
field object works great, better now in v5.5 than ever before since we now
have zero-width columns so we can include things like record IDs without
having to show those to the user.


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





More information about the Use-livecode mailing list