Deleting a datagrid
Posted: Wed Feb 24, 2016 8:58 am
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
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