I have a grid which originally have, say, 5 rows. I capture the
user-selected rows with OnRangeSelect event and GetSelectedRows().
Later I deleted all 5 rows and called wxGrid.Refresh(), and the
grid contents and row label were blanked accordingly. However,
when I click the row label column, it can still capture the now
non-existent row label and returns the row number accordingly.
Why didn't the row label go away?
I have a grid which originally have, say, 5 rows. I capture the
user-selected rows with OnRangeSelect event and GetSelectedRows().
Later I deleted all 5 rows and called wxGrid.Refresh(), and the
grid contents and row label were blanked accordingly. However,
when I click the row label column, it can still capture the now
non-existent row label and returns the row number accordingly.
Why didn't the row label go away?
Thanks in advance!
It's probably a bug. Please submit a detailed bug report with a category of wxGrid.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!