equal
deleted
inserted
replaced
222 if colindex not in displaycols: |
222 if colindex not in displaycols: |
223 continue |
223 continue |
224 # compute column header |
224 # compute column header |
225 if headers is not None: |
225 if headers is not None: |
226 label = headers[displaycols.index(colindex)] |
226 label = headers[displaycols.index(colindex)] |
227 if colindex == mainindex: |
227 if colindex == mainindex and label is not None: |
228 label += ' (%s)' % self.cw_rset.rowcount |
228 label += ' (%s)' % self.cw_rset.rowcount |
229 column = TableColumn(label, colindex) |
229 column = TableColumn(label, colindex) |
230 coltype = self.cw_rset.description[0][colindex] |
230 coltype = self.cw_rset.description[0][colindex] |
231 # compute column cell view (if coltype is None, it's a left outer |
231 # compute column cell view (if coltype is None, it's a left outer |
232 # join, use the default non final subvid) |
232 # join, use the default non final subvid) |