Data Grid Templates Missing

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
runrevGAf68e
Posts: 22
Joined: Mon Dec 19, 2011 1:12 pm

Data Grid Templates Missing

Post by runrevGAf68e » Thu Feb 16, 2012 1:08 pm

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

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Data Grid Templates Missing

Post by Klaus » Thu Feb 16, 2012 1:55 pm

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

dspells
Posts: 1
Joined: Thu May 02, 2013 7:40 pm

Re: Data Grid Templates Missing

Post by dspells » Wed May 08, 2013 8:39 pm

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

Post Reply