[wxPython-users] Moving a grid row while keeping its height

Robin Dunn robin at alldunn.com
Mon Apr 2 11:30:53 PDT 2007


Yuan HOng wrote:
> On 3/29/07, Robin Dunn <robin at alldunn.com> wrote:
>> Yuan HOng wrote:
>>
>> > Especially, what is a GridTableMessage and how does it impact on the
>> > outlook of the grid?
>>
>> It basically is just a way for the table (or some other part of the app)
>> to inform the grid (the view) that something has changed in the data
>> (the model) and that the grid should then do something to react to that
>> change such as refresh some cells, etc.
>>
> 
> Thanks, I guess that is what it does. But what exactly? Particularly
> in case of the bug I mentioned for the demo, what exactly goes wrong?
> Must I read the wxWidgets C code to find out the problem? Seems the
> error is with wxWidgets instead of wxPython from the trace, am I
> right?
> 

Try reversing the order of the delete and insert messages.

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





More information about the wxpython-users mailing list