[wxPython-users] Re: AppendRows() for a Table
Grzegorz Adam Hankiewicz
ghankiewicz at rastertech.es
Thu Nov 23 09:28:48 PST 2006
Torsten Bronger escribió:
>> Modifying your data is not enough, you have to tell the grid that
>> new cells were added. This is performed creating a
>> GridTableMessage with the GRIDTABLE_NOTIFY_ROWS_APPENDED
>> parameter. You have a full example in the GridCustTable.py demo,
>> check CustomDataTable.SetValue().
>
> Thank you, this will probably help. However, the book "wxPython in
> action" doesn't mention GRIDTABLE_NOTIFY_ROWS_APPENDED. Likewise,
> GridCustTable.py never calls AppendRows(). Are there two separate
> ways to achieve this in wxPython? If so, I'd also be interested in
> a solution according to the book.
Maybe AppendRows used to work with earlier wxPython versions until they
added the GRIDTABLE_NOTIFY_ROWS_APPENDED thingy?
--
Grzegorz Adam Hankiewicz, Jefe de producto de TeraVial
Rastertech España S.A. Tel: +34 918 467 390, ext 18.
http://www.rastertech.es/ ghankiewicz at rastertech.es
More information about the wxpython-users
mailing list