Add Others field in index

This commit is contained in:
Grégory Soutadé
2014-12-05 16:03:09 +01:00
parent 4cb2736e22
commit fd858034fb
7 changed files with 79 additions and 4 deletions

View File

@@ -66,6 +66,12 @@ class DisplayHTMLBlockTable(DisplayHTMLBlock):
self.rows.append(listToStr(row))
self.rows_cssclasses.append([u''] * len(row))
def getNbRows(self):
return len(self.rows)
def getNbCols(self):
return len(self.cols)
def getCellValue(self, row, col):
if row < 0 or col < 0 or\
row >= len(self.rows) or col >= len(self.cols):