I'm using a wx.grid.Grid in my application. Its never going to be useful to resize the rows of the grid, so I would love to disable the ability to resize them. Is this possible, and how would I go about doing it?
When testing the application I keep accidentally clicking the surprisingly large border between cells when I'm trying to click the cell body. The rows can't be much more than 20px tall, and the clickable (draggable) border is at least 3px across. In addition to the fact that I often accidentally rescale a row when I intended to select multiple cells, I really think it's worth disabling resizing. An acceptable alternative would be to disable dragging of the borders between the cells entirely, but still enable resizing of rows and columns by the border between the labels along the top and left edge.
DisableDragRowSize() is what you need.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With