EVT_GRID_CELL_LCLICK(self, self.OnCellClick)
EVT_GRID_LABEL_LCLICK(self, self.OnLabelClick)
+ self.SetEditInPlace(true)
+ #print self.GetCells()
def OnSelectCell(self, event):
def OnLabelClick(self, event):
self.log.WriteText("OnLabelClick: (%d, %d)\n" % (event.m_row, event.m_col))
+ #if event.m_row >= 10:
+ # self.SetLabelValue(wxVERTICAL, 'XX', event.m_row)
+ # self.Refresh()
+ #else:
+ # size = self.GetLabelSize(wxVERTICAL)
+ # print size
+ # self.SetLabelSize(wxVERTICAL, size+10)
+ # self.Refresh()
#---------------------------------------------------------------------------