Hi all,
I am in the proces of developing an app where many datagrids are used to present data from a sql database.
In the developing proces I often like to delete a datagrid and start over again with a new one.
This works much nicer then to work the whole datagrid around all the time.
But deleting a datagrid is not always easy. Sometimes it works with the delete key on the keybpord, sometimes I have to do ctrl-x to cut it away, but also sometimes it just does not want to be deleted. Then I make it invisible, but thats not clean programming of course.
What is the best strategy to delete a datagrid? I can't find anything about that in the Datagrid Api.
Thanks
Rob van der Sloot
Deleting a datagrid
Moderators: heatherlaine, kevinmiller, robinmiller, Zryip TheSlug
-
- Livecode Opensource Backer
- Posts: 78
- Joined: Sat Apr 17, 2010 9:21 am
Re: Deleting a datagrid
Maybe you can use deleteGroup as the datagrid is a group. Look in the dictionary.
cut the datagrid and it still resides, i don't know why, but you can still see it in the stacks tab of the standalone settings.
It's also fun when there is a fault in the datagrid -not-, i had it several times, i had to create a new stack and copy all except the datagrid.
I could not get rid of the fault.
i did not try deletegroup yet, let me know if it works.
Groetjes!
cut the datagrid and it still resides, i don't know why, but you can still see it in the stacks tab of the standalone settings.
It's also fun when there is a fault in the datagrid -not-, i had it several times, i had to create a new stack and copy all except the datagrid.
I could not get rid of the fault.
i did not try deletegroup yet, let me know if it works.
Groetjes!
Re: Deleting a datagrid
Hi friends,
FYI: "deletegroup" is a message and not a command!
Best
Klaus
FYI: "deletegroup" is a message and not a command!
Best
Klaus
Re: Deleting a datagrid
Sch**sse.....
I guess i did not read it thorougly thru
I guess i did not read it thorougly thru