Grid with table, GetValue behaves strange ?

Stef Mientki wrote:

hello,

I've a grid coupled to a table,
where different cells in a table can have many types.
Now the strange thing is that when I ask a cell value, of a cell with type long,
and the cell = 0, I sometimes get an integer back, and sometimes I get and empty string back.
Below is my Table.GetValue.
Should I perform the type conversion in that method myself ?

Yes, probably. The wrapper that calls your GetValue just looks at the type of the object that is returned and tries to do the right thing with the C++ class, so if you can help it out then that's better.

ยทยทยท

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