Datagrids are corrupted

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am
Contact:

Datagrids are corrupted

Post by 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

Ledigimate
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 132
Joined: Mon Jan 14, 2013 3:37 pm

Re: Datagrids are corrupted

Post by 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

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

Re: Datagrids are corrupted

Post by 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.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Datagrids are corrupted

Post by FourthWorld » Wed Mar 01, 2017 8:53 am

How is the DataGrid populated?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “iOS Deployment”