Another problem with wxgrid

Hello,

I am using python 2.3.3 and wxpython 2.4.2.4 on a gentoo linux

With a wxgrid objct, how can I get a list of the row numbers selected in
the grid, GetSelectionRows returns an empty list?

If this is not possible, how can I limit the selection to one row at a
time?

Thanks for your answer.

···

--
Everaert Roland <roland_everaert@yahoo.fr>

Everaert Roland wrote:

Hello,

I am using python 2.3.3 and wxpython 2.4.2.4 on a gentoo linux

With a wxgrid objct, how can I get a list of the row numbers selected in
the grid, GetSelectionRows returns an empty list?

The selection in wxGrid is a combination of selected rows, cols, cells
and blocks. It all depends on the selection mode and how the selection
if made with the mouse. Try GetSelectedCells, GetSelectionBlockTopLeft
and GetSelectionBlockBottomRight.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!