RE: hiding cells

Steve Barnes <[email protected]> Fri, 22 Jan 2021 06:05:31 +0000
Newsgroups gmane.comp.python.wxpython
Message-ID <VI1PR03MB4479A0CAB8CA50717F68CE9B9BA00@VI1PR03MB4479.eurprd03.prod.outlook.com>
You should be able to hide entire rows or columns (even if the only way is by setting the height or width to 0). Hiding a block that does not consist of entire rows of columns is a bad idea as it will seem that things are in the wrong column - consider:

AAA BBB CCC
DDD EEE FFF
GGG HHH III
JJJ KKK HHH

With something in the middle hidden becomes:
AAA BBB CCC
DDD FFF
GGG III
JJJ KKK HHH

Which is not good for the sense of the content.

Just my thoughts.

Steve Barnes

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Nathan smith
Sent: 21 January 2021 21:57
To: [email protected]
Subject: [wxPython-users] hiding cells

Hello,


Is there a way to hide cells in a wx.grid.grid?

Preferably I'm looking for a way, for instance, to make it appear as though from (3, 3) down to (3, 6) then across to (6, 6) then up to (6,
3) all of those cells are hidden (including grid lines).


I was thinking there might be a grid.HideCell or grid.SetCellTransparent but I can't seem to find anything to that effect.


Thanks

Nathan

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fwxpython-users%2F0e309a59-0feb-8865-b9cc-b1e111468fc6%2540gmail.com&amp;data=04%7C01%7C%7Cb84eed60f14e40562ebc08d8be5773af%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637468630091320255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=SCCtCu02bRRK2bAdNnpQx%2FcdL5nXPma%2F7Tk2G%2Bgj9IY%3D&amp;reserved=0.

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/VI1PR03MB4479A0CAB8CA50717F68CE9B9BA00%40VI1PR03MB4479.eurprd03.prod.outlook.com.