Datagrids are corrupted

Getting into LiveCode for iOS? Ask your questions here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Datagrids are corrupted

Postby maxs » Tue Feb 28, 2017 6:44 am

80% the time I create a datagrid, it gets corrupted when I reopen my app. All the text and lines disappear, and a few lines appear on the bottom of the grid. The datagrid always works fine before saving and closing the stack, though.

When I create a IPAD stadalone, the same thing happened. I made sure to select "Datagrids" for the inclusions.


Apparently here on the forum people have had success using datagrids. Does anyone know how to keep the datgrids from corrupting?

Max
maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 382
Joined: Sat Jun 24, 2006 12:02 am

Re: Datagrids are corrupted

Postby Ledigimate » Tue Feb 28, 2017 10:48 am

Hi Max

One possible cause is if you're handling the saveStackRequest message in your script. Datagrids internally handle this message and will break if your own saveStackRequest handler doesn't pass on the message.

- Gerrie
010100000110010101100001011000110110010100111101010011000110111101110110011001010010101101010100011100100111010101110100011010000010101101001010011101010111001101110100011010010110001101100101
Ledigimate
Livecode Opensource Backer
Livecode Opensource Backer
 
Posts: 106
Joined: Mon Jan 14, 2013 3:37 pm

Re: Datagrids are corrupted

Postby maxs » Wed Mar 01, 2017 6:07 am

Thank you,

I tried the datagrid on a completely new stack, and it still corrupted. Perhaps I need a new version of Livecode.
maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 382
Joined: Sat Jun 24, 2006 12:02 am

Re: Datagrids are corrupted

Postby FourthWorld » Wed Mar 01, 2017 8:53 am

How is the DataGrid populated?
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 5305
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles


Return to iOS Deployment

Who is online

Users browsing this forum: No registered users and 1 guest