From: "Frank Millman" <fr...@chagford.com>
Date: Wed, 18 Nov 2009 07:58:39 +0200
Local: Wed, Nov 18 2009 12:58 am
Subject: RE: [wxPython-users] `ForceRefresh` after `AppendRows` does not display new items .
Olemis Lang wrote: There is an extra step you have to take, but I have never seen it in any > I am appending a row in a grid this way : > {{{ > dialog = wx.TextEntryDialog(self, *args) > }}} > and the Grid doesn't display the new row . I have confirmed formal documentation. The only place I have seen it is in some of the Grid examples in the demo. After appending, inserting, or deleting rows (or columns) in the table, you msg = wx.grid.GridTableMessage(self, # The table or msg = wx.grid.GridTableMessage(self, # The table or msg = wx.grid.GridTableMessage(self, # The table followed by self.GetView().ProcessTableMessage(msg) This assumes that it is called from the Table class. If it is called from the Grid class, change self to self.GetTable(), and HTH Frank Millman You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||