I've started with the Grid/Grid Table code on pages 434-436 of
wxPython in Action, then decided to put it into a sizer so I could add
some combo boxes above the grid and control their placement.
When the Grid was not in a sizer, the grid's scrollbars appeared (and
I want them visible). When I moved the grid into the sizer, the
scrollbars do not appear, but I'm not sure why.
The full code is already posted from a recent email, but I've made the
change Robin suggested: that being making the grid a child of the
panel instead of the frame. Now the grid appears almost full size
inside of the sizer, but the scrollbars are gone.
Similarly, some other grid functionality was lost after moving the
grid into the sizer.
I've tried changing the Column headers by adding this code
def _SetColumnHeaders(self):
self._Grid.SetColLabelValue(0, 'Filename')
for col in range(1, 14):
self._Grid.SetRowLabelValue(col, 'STEP %lu' % col)
but the labels in the column headers does not change.
Is it normal for some functionality (other than positioning of the
grid) of a grid to change somewhat after being inserted into a sizer?