I built an example stack to show the wonders of LiveCode to my coworkers. It has a datagrid, connects to a MySQL DB, and puts the data in the grid. Worked great inside IDE. Standalone - not so much.
All the DB connection stuff works, can actually see it collecting data, can "Answer" some of the data. The grid won't fill. So, I go searching and discover all the stuff about in Standalone apps, you have to make sure the "Data Grid Template" gets included.
Here's the problem. LiveCode is NOT creating Data Grid Templates. If I start with a brand new stack, drag and drop a data grid on to it....no Data Grid template. I CAN force the creation of one by adding a column and adding a Column Behavior. However, I should not need to do that, right?
So, i go back to my original stack and try to add Column Behavior to it to force the creation of the Data Grid Templates. No luck. I can't use "Column Behavior" or "Row Template" on this stack for some reason.
So, I figured with all the dabbling I've done in LC with example stacks and plugins (DGH), etc that I've screwed something up. So, I completely uninstall and reinstall LC. Guess what? No Data Grid templates.
Argh... What do I do? How am I going wrong?
Thanks,
Justin
Data Grid Templates Missing
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Data Grid Templates Missing
Hi Justin,
it looks like you need to click "Row Template" to force LC to create the "Data Grid Template" stack.
And this sounds logical to me, since before that time, the data grid is just an empty group!
But I have no idea if this should work in a standalone this way of if it is possible at all...
Best
Klaus
it looks like you need to click "Row Template" to force LC to create the "Data Grid Template" stack.
And this sounds logical to me, since before that time, the data grid is just an empty group!
But I have no idea if this should work in a standalone this way of if it is possible at all...
Best
Klaus
Re: Data Grid Templates Missing
Hi everyone,
I am having a similar problem to Justin. I have two "table" style datgrids in my project but somehow I don't have the corresponding datagrids templates or the data grid templates stack. If I click on "Row Template" in the "Basic Properties" inspector nothing happens (i.e. no stack is created and no window comes up to show me the template). I tried adding another grid and then click on row template. Adding another grid creates the "Data Grid Templates" substack but clicking on the "Row Template" still does nothing. Any ideas of how I can get LiveCode to create the templates for me without totally re-adding the grid? I am using "Commercial Edition" 6.0.0 Build 1511.
Thanks in advance for any help you can give,
- David
I am having a similar problem to Justin. I have two "table" style datgrids in my project but somehow I don't have the corresponding datagrids templates or the data grid templates stack. If I click on "Row Template" in the "Basic Properties" inspector nothing happens (i.e. no stack is created and no window comes up to show me the template). I tried adding another grid and then click on row template. Adding another grid creates the "Data Grid Templates" substack but clicking on the "Row Template" still does nothing. Any ideas of how I can get LiveCode to create the templates for me without totally re-adding the grid? I am using "Commercial Edition" 6.0.0 Build 1511.
Thanks in advance for any help you can give,
- David