Here's one way to do this,there may be others. Both datagrids will have the dgProps["row template"] property set to the same group and card of the Datagrid Templates stack. Locate that card and use the message box to make a copy of it in the Datagrid Templates stack. Make a note of the Row Template group ID and card id of the new card, then change the dgProps["Row Template"] property of the second datagrid to refer to the new group/card. At that point, you can modify the second datagrid's template as you wish without affecting the first datagrid.
Hope that helps, Pete On Thu, Dec 1, 2011 at 9:21 PM, Keith (Gulf Breeze Ortho Lab) < ke...@gulfbreezeortholab.com> wrote: > Hi All, > > Okay, I am at a loss. I have a stack with several cards... On one card I > have a custom data grid form with graphics and several text fields... What > I want to do is copy the data grid and then paste it onto another > card--which works fine. The problem is, I am unclear about how to create a > new template for the pasted data grid... When I make minor changes to the > template, the changes are also applied to the original data grid on the > previous card... > > How can I create a new template for the pasted data grid so that I can > make changes to it without affecting the original data grid? I want to find > a way to do this without having to recreate the second data grid from > scratch, because there are only minor changes and it would be quite > time-consuming to say the least... > > I found the following link, but it does not really explain what I am > looking for: > > http://www.forums.runrev.com/viewtopic.php?f=8&t=3365 > > Thanks, > > - Boo > _______________________________________________ > 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 > > -- Pete Molly's Revenge <http://www.mollysrevenge.com> _______________________________________________ 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