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

Datagrids are corrupted

Post by maxs »

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 »

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

Re: Datagrids are corrupted

Post by maxs »

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: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Datagrids are corrupted

Post by FourthWorld »

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