F
fckuen
Dear all,
the doc is missing, and
i failed to find the solution on google search.
anyone know how to override
the function SetColLabel() inside the class PyGridTableBase or the
class GridTableBase?
my code,
#===========================================
class MegaTable(wx.grid.PyGridTableBase):
def __init__(...)
......
wx.grid.PyGridTableBase.__init__(self)
def SetColLabelValue(self, col, value):
value = self.coltags[col]
-->how to ???
class MegaGrid(wx.grid.Grid):
def __init__(...)
......
wx.grid.Grid.__init__(self, parent, id)
self._table = MegaTable(self, .....)
self.SetTable(self._table)
......
#===========================================
thanks!
the doc is missing, and
i failed to find the solution on google search.
anyone know how to override
the function SetColLabel() inside the class PyGridTableBase or the
class GridTableBase?
my code,
#===========================================
class MegaTable(wx.grid.PyGridTableBase):
def __init__(...)
......
wx.grid.PyGridTableBase.__init__(self)
def SetColLabelValue(self, col, value):
value = self.coltags[col]
-->how to ???
class MegaGrid(wx.grid.Grid):
def __init__(...)
......
wx.grid.Grid.__init__(self, parent, id)
self._table = MegaTable(self, .....)
self.SetTable(self._table)
......
#===========================================
thanks!