Another Data Grid problem

Paul Foraker paul.foraker at gmail.com
Tue Nov 12 00:10:47 CET 2013


On Sun, Nov 10, 2013 at 3:41 AM, zryip theSlug <zryip.theslug at gmail.com>wrote:

> This is behaving like the template for your datagrid is missing.
>
> For checking the existence of the datagrid template, you can execute this
> code:
>
> put the dgProp["row template"] of grp "myDataGrid" into tTheTMPLGroup
> answer there is a tTheTMPLGroup
>
> where myDataGrid is the name of your datagrid group.
>
> This test will probably return "false".
>


Thank you, Zryip theSlug.Your diagnosis was correct. Somehow, the template
had gone missing; perhaps that happened when I created the datagrid by
cloning.

Following the path described by Kevin in the YouTube lesson on adding
images to a datagrid did not work -- even after I created a new dg which
actually had a template. After replacing the template field with a blank
button, etc., the script broke, unable to find the button. So, apparently,
I put it in the wrong group. More research required.

 Due to time constraints, I faked it instead, using images overlayed on the
column. So, I look forward to figuring this out.

-- Paul


More information about the use-livecode mailing list