Page 1 of 1

How to delete the whole grid in wxpython???

Posted: Mon Nov 14, 2016 9:29 am
by pikkip
I wanted to delete the whole grid including its table in wxpython. I executed wx.grid.ClearGrid() but it clears only the content. Does anyone know how to do that??? :?

Re: How to delete the whole grid in wxpython???

Posted: Tue Nov 15, 2016 8:14 pm
by ONEEYEMAN
You want to remove the grid from the screen?
Try "my_grid.Destroy()"

Re: How to delete the whole grid in wxpython???

Posted: Wed Nov 16, 2016 5:29 am
by pikkip
Thank you :D