Page 1 of 1

can't find stack error in Datagrid code

Posted: Thu May 01, 2014 5:13 pm
by leston12
Hi all,

I have a project from last summer that I have dusted off and want to tweak some. I just upgraded to the latest stable release (6.6.1) to work on it.

The app uses a datagrid to show records from a db, and it used to work perfectly. In this new version it doesn't. I get an error

An error has occurred in behavior for the column template. Chuck: can't find stack

The error happens in the _table.CreateControlsForColumns handler at this line in the Data Grid script:

...
## Create
repeat for each line the Column in pColumns
...

Any help would be greatly appreciated.
Thanks!

Re: can't find stack error in Datagrid code

Posted: Thu May 01, 2014 5:29 pm
by Klaus
Hi Leston,

no idea, but is this really in the script:
##repeat for each line the Column in pColumns
?

Should read:
repeat for each line theColumn in pColumns
!


Best

Klaus

Re: can't find stack error in Datagrid code

Posted: Thu May 01, 2014 5:41 pm
by leston12
Klaus,
Klaus wrote:no idea, but is this really in the script:
##repeat for each line the Column in pColumns
?
No, that was my typo. It does read '...for each line theColumn in pColumns'

This error happens whenever I try to do anything with the datagrid. I have a stack that is called Data Grid Templates 136591401596, which was created automagically when I added the datagrid functionality (last summer).

I wish I knew what stack it is looking for or why it isn't finding this one.

Re: can't find stack error in Datagrid code

Posted: Thu May 01, 2014 7:29 pm
by leston12
I ended up re-creating my DataGrids. That made LC happy.

Re: can't find stack error in Datagrid code

Posted: Thu May 01, 2014 8:42 pm
by Klaus
Hi Leston,

yep, sometimes there are in fact Gremlins in a datagrid :D


Best

Klaus