Copy/Paste Datagrids

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

Copy/Paste Datagrids

Post by teacherguy »

Still finding dg's pretty intimidating, put making decent progress. I have a card set up with several of them, and I'm now ready to treat all elements of the card as a background for making new cards. I notice that I can check "treat as background" for all of my groups except the datagrids. I assume this is because each datagrid must be a unique group id.

So my question is: Am I OK to copy these datagrids and paste them onto my new cards? This would give them a new unique id yes? Or is there a better approach?

~Brian
James Little
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 47
Joined: Thu Apr 27, 2006 11:19 pm

Re: Copy/Paste Datagrids

Post by James Little »

Hi Brian,

I too am struggling to get a handle on Datagrids.

This Livecode Lesson may give you some guidance on copying a Datagrid.

http://lessons.runrev.com/s/lessons/m/d ... mited-data

HTH,

Jim
teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

Re: Copy/Paste Datagrids

Post by teacherguy »

Thanks James. Pretty sure in my case the issues are/have been:

Making sure that I attach a duplicated grid to the proper row template

Making sure that the grid that needs the focus actually has it (I have some over-layed, yikes)

Getting column behaviors understood and implemented properly

My head hurts for sure, lol. :roll:
Post Reply