PyGridTableBase: database update + errata

Alle lunedì 30 luglio 2007, Dominique ha scritto:

In the previous code, the list of data was not updated. But even after
correction, it still doesn't work.

You are changing the data in OnSelect, but still your LineUpTable is holding
the original data from creation.

If you take a look at Grid_MegaExample from the wxPython demo, you will find a
couple of functions (ResetView and UpdateValues) that will help you solve it.

You should place a function in your grid replacing 'entries' in the underlying
LineupTable, and then call ResetView/UpdateValues, I think this will do the
trick

···

--
Cordialmente

Stefano Bartaletti

G.Tosi Spa Tintoria

Skype account: stefano.bartaletti
ICQ contact : 1271960