Page 1 of 1

Data grid contains data but appears empty

Posted: Wed Aug 17, 2011 1:09 pm
by BIX
I have a stack with a button that opens another stack called "test". Stack "test" contains one Data Grid. I've set the script of the stack to put data into Data Grid on openStack. Everything works fine in development mode, but when I save as standalone and click on a button that opens stack "test" the Data Grid looks empty. On 'answer the dgtext of grp "myDataGrid"' I see that the Data Grid contains specific text but is not showing it. I've tried 'ResetList' and 'RefreshList' but it didn't help.

I hope my text isn't too confusing and someone will be able to help me....

Thanks....

Re: Data grid contains data but appears empty

Posted: Wed Aug 17, 2011 1:28 pm
by Klaus
Hi BIX,

sounds like the DataGrid library was not added to your standalone!?

Is the stack with the datagrid a substack of the (main) stack that you save as a standalone
or is it a separate file?


Best

Klaus

Re: Data grid contains data but appears empty

Posted: Thu Aug 18, 2011 7:00 am
by BIX
Stack with the Data Grid is a substack. I've thought the same thing about datagrid library but I can't find that library in Standalone Application Settings.

Re: Data grid contains data but appears empty

Posted: Thu Aug 18, 2011 7:20 am
by bn
Hi BIX,

maybe this helps with your problem

http://lessons.runrev.com/s/lessons/m/d ... Data-Grid-

it shows how to set up your standalone to support a datagrid.

Kind regards

Bernd

Re: Data grid contains data but appears empty

Posted: Thu Aug 18, 2011 7:48 am
by BIX
Thanks bn, that solved the problem.

Re: Data grid contains data but appears empty

Posted: Thu Aug 18, 2011 12:03 pm
by Klaus
Hi all,

what also does work is to add a datagrid to your mainstack but leave it empty and hide it.
This way the standalonebuilder, this li'l stupid sucker :D , will also copy all necessary files.


Best

Klaus