self.SetCellValue(6, 3, "You can veto editing this cell")
+ #self.SetRowLabelSize(0)
+ #self.SetColLabelSize(0)
# attribute objects let you keep a set of formatting values
# in one spot, and reuse them if needed
self.SetCellValue(11, 1, "This cell is set to span 3 rows and 3 columns");
+ editor = wxGridCellTextEditor()
+ editor.SetParameters('10')
+ self.SetCellEditor(0, 4, editor)
+ self.SetCellValue(0, 4, "Limited text")
+
# test all the events
EVT_GRID_CELL_LEFT_CLICK(self, self.OnCellLeftClick)
# Show how to stay in a cell that has bad data. We can't just
# call SetGridCursor here since we are nested inside one so it
- # won't have any effect. Instead, set coordinants to move to in
+ # won't have any effect. Instead, set coordinates to move to in
# idle time.
value = self.GetCellValue(evt.GetRow(), evt.GetCol())
if value == 'no good':