[wxPython-users] PygridTableBase: Not Updating

Marco De Felice m.defel at gmail.com
Wed May 2 10:08:47 PDT 2007


This is the excerpt from the wiki I was pasting:
begin paste:
    I'm repeatedly setting SetTable(severalDifferentTables) on a 
wx.grid.Grid, followed by a ForceRefresh(), and it works great for me.
    Is this a limitation that has been removed?
end paste

Werner F. Bruhin wrote:
> What does one gain by instantiating HugeTable again and again?
>
> I always just refresh the content of myTable (on which I did one 
> SetTable(myTable) during init) and call RefreshView?
You're right on this, I didn't wanted to say that it's wrong, that's 
perhaps the best way but I have a lot of code where I do the same thing 
the wiki editor does and I'd like to know the answer to that question.




More information about the wxpython-users mailing list