Use correct method name for GetRowLabelValue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -32,8 +32,8 @@ class MegaTable(wxPyGridTableBase):
|
|||||||
def GetColLabelValue(self, col):
|
def GetColLabelValue(self, col):
|
||||||
return self.colnames[col]
|
return self.colnames[col]
|
||||||
|
|
||||||
def GetRowLabelValues(self, row):
|
def GetRowLabelValue(self, row):
|
||||||
return self.data[row][0]
|
return "row %03d" % int(self.data[row][0])
|
||||||
|
|
||||||
def GetValue(self, row, col):
|
def GetValue(self, row, col):
|
||||||
return str(self.data[row][1].get(self.GetColLabelValue(col), ""))
|
return str(self.data[row][1].get(self.GetColLabelValue(col), ""))
|
||||||
|
Reference in New Issue
Block a user