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 » Mon Nov 14, 2016 9:29 am

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: 3403
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

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

Post by ONEEYEMAN » Tue Nov 15, 2016 8:14 pm

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 » Wed Nov 16, 2016 5:29 am

Thank you :D

Post Reply