Thx for your help...
Now it works fine (this). But when i will delete a row from the table it
deletes the right values but (visual) the last row???
I attached a small example with the problem. With double click you delete
one row.
Thx for Help
Micha
CUSTOMCBEDITOR.PY (3.46 KB)
···
-----Ursprüngliche Nachricht-----
Von: Robin Dunn [mailto:robin@alldunn.com]
Gesendet: Montag, 4. September 2006 19:47
An: wxPython-users@lists.wxwidgets.org
Betreff: Re: [wxPython-users] Troubles with GetSelectedRows()
Micha Reiser wrote:
Hello
I Created a Grid with CreateGrid (in the real probramm I had a TableBase).
Now, when I try to detect the selected Row with GetSelectedRows() I
receive
all the time an empty list?
There are different kinds of selections in the Grid class, and
GetSelectedRows only returns those rows that are selected using the row
labels. There are also col selections that are made the same way with
col labels, and also block selections (dragging across a range of cells)
and cell selections (selecting individual cells) and each of them have
their own methods for retrieving the selections. (Yes, I agree that
this is ugly and awkward...)
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org