reset the view based on the data in the table. Call this when rows are added or destroyed
(self)
| 241 | #self.tps.select() |
| 242 | |
| 243 | def Reset(self): |
| 244 | """reset the view based on the data in the table. Call |
| 245 | this when rows are added or destroyed""" |
| 246 | self.table.ResetView(self) |
| 247 | if not self.handle is None: |
| 248 | self.handle(self.tps) |
| 249 | |
| 250 | def select(self): |
| 251 | self.Bind(Grid.EVT_GRID_RANGE_SELECT, None) |