How to delete the whole grid in wxpython??? Topic is solved

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
User avatar
pikkip
Knows some wx things
Knows some wx things
Posts: 37
Joined: Mon Sep 26, 2016 6:08 am

How to delete the whole grid in wxpython???

Post 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??? :?
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7458
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

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

Post by ONEEYEMAN »

You want to remove the grid from the screen?
Try "my_grid.Destroy()"
User avatar
pikkip
Knows some wx things
Knows some wx things
Posts: 37
Joined: Mon Sep 26, 2016 6:08 am

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

Post by pikkip »

Thank you :D
Post Reply