Grid not deleting, but appending row on DeleteRow

Simen Haugen Simen at nordicstats.com
Thu Jun 1 13:37:10 PDT 2006


Hi.

 

I have a custom table and grid, and when I try to delete rows, the grid
"Appends" another row and doesn't remove any rows.

This way I get two rows filled with None when I try to delete a row. (It
also crashes when I try to close the application).

 

This happens when I tell the grid I deleted a row in the tables
DeleteRow with GRIDTABLE_NOTIFY_ROWS_DELETED.

If I don't give this information to the grid, then the application
doesn't crash on closing, but still... I see a row filled with None
instead of no row at all.

 

I have the same problem when trying to remove columns, but this doesn't
crash the application when I close it.

 

Perhaps there are some things I've misunderstood about deletion of grid
content?

 

Any help would be appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20060601/b6356080/attachment.htm


More information about the wxpython-users mailing list