Page 1 of 1

Datagrid does not work in standalone

Posted: Thu May 08, 2014 7:47 pm
by Simon Knight
Please help!

I have an application that uses a number of datagrids to display information from a database plus a simple datagrid that I populated with two rows of tab delimited data (i.e. nothing to do with the database.

In the IDE all is well.

When I build the application for Windows and Mac the datagrids are displayed but they refuse to accept mouse input or get updated from the database. I have confirmed that the datagrid templates stack is included in the list of stacks.

I have tried everything I can think of can you help?

Simon K

Re: Datagrid does not work in standalone

Posted: Thu May 08, 2014 8:45 pm
by Klaus
Hi Simon,

quick guess:
Did you password protext all your stacks incliding the "Datagrid Templates..." stack in the standalone builder?
If yes, leave at least the TEMPLATE stack unprotected :D


Best

Klaus

Re: Datagrid does not work in standalone

Posted: Thu May 08, 2014 9:18 pm
by Simon Knight
Hi Klaus,

No I have not but I have the solution : read the documents!

My app uses a Splash stack and I had completely missed that I should include a dummy datagrid templates stack of the splash stack. So in a note to myself include sub stack named "Data Grid Templates Dud" as part of the SPLASH stack.

Doh!

best wishes

Simon

Re: Datagrid does not work in standalone

Posted: Thu May 08, 2014 9:44 pm
by dunbarx
Hi.

Do not beat yourself up too much. The dummy DG is one way to get around the problem, but it is not obvious. I had to fail as you did before I hunted around and found the same solution.

Craig Newman

Re: Datagrid does not work in standalone

Posted: Thu May 08, 2014 10:54 pm
by Klaus
And I have been bitten by the password thingie before :D

Re: Datagrid does not work in standalone

Posted: Fri May 09, 2014 7:45 am
by Simon Knight
Thanks for your kind words, these problems always reveal themselves at the eleventh hour to a deadline.

best wishes

Simon K