Data Grid Table Trouble
Posted: Sat Aug 16, 2014 6:20 am
Hello!
I am working with a DG Table and while I was debugging it, something that initially was working is now broken, and has left me staring blankly at the screen with nowhere to turn.
When my code reaches the end of the FillInData handler, it throws an error and stops. However, there is no error in the error dialog box, just an answer dialog that says
"an error has occurred in behavior for the column template:
Chunk: no such object"
[OK] [Edit Script]
When I click "Edit Script", it brings me to the behavior script for one of the columns and highlights the first line of code in the handler, which has absolutely no errors.
first line: "switch item 1 of pData"
... to bolster my case, it was working perfectly in the past; I was debugging a different handler entirely.
So I stepped through the FillInData handler line by line, and, as I mentioned, the whole handler is fine and executes, but once the "end FillInData" line executes, the aforementioned error answer box pops up.
I don't know how to interpret the error dialog or where my problem lies. I just fixed a bug in a different handler, so for all I know, this was supposed to work perfectly now that I squashed the other bug.
Any insight on how I can interpret or react to this message would be greatly appreciated!
Kind regards,
Phil E.
Edit: For the record, I have copy/pasted everything (row template, behavior scripts) into a new DG Table just in case something corrupted, and I am having exactly the same results.
I am working with a DG Table and while I was debugging it, something that initially was working is now broken, and has left me staring blankly at the screen with nowhere to turn.
When my code reaches the end of the FillInData handler, it throws an error and stops. However, there is no error in the error dialog box, just an answer dialog that says
"an error has occurred in behavior for the column template:
Chunk: no such object"
[OK] [Edit Script]
When I click "Edit Script", it brings me to the behavior script for one of the columns and highlights the first line of code in the handler, which has absolutely no errors.
first line: "switch item 1 of pData"
... to bolster my case, it was working perfectly in the past; I was debugging a different handler entirely.
So I stepped through the FillInData handler line by line, and, as I mentioned, the whole handler is fine and executes, but once the "end FillInData" line executes, the aforementioned error answer box pops up.
I don't know how to interpret the error dialog or where my problem lies. I just fixed a bug in a different handler, so for all I know, this was supposed to work perfectly now that I squashed the other bug.
Any insight on how I can interpret or react to this message would be greatly appreciated!
Kind regards,
Phil E.
Edit: For the record, I have copy/pasted everything (row template, behavior scripts) into a new DG Table just in case something corrupted, and I am having exactly the same results.