(self)
return
Determine current column grid positions
Determine current column grid positions
Determine current column grid positions
def setColPositions(self):
        """Determine current column grid positions"""

        self.col_positions=[]
        w=self.cellwidth
        x_pos=self.x_start
        self.col_positions.append(x_pos)
        for col in range(self.cols):
            colname=self.model.getColumnName(col)
            if colname in self.model.columnwidths:
                x_pos=x_pos+self.model.columnwidths[colname]
            else:
                x_pos=x_pos+w
            self.col_positions.append(x_pos)
        self.tablewidth = self.col_positions[len(self.col_positions)-1]
        return
def setColPositions ( self ) : self . col_positions = [ ] w = self . cellwidth x_pos = self . x_start self . col_positions . append ( x_pos ) for col in range ( self . cols ) : colname = self . model . getColumnName ( col ) if colname in self . model . columnwidths : x_pos = x_pos + self . model . columnwidths [ colname ] else : x_pos = x_pos + w self . col_positions . append ( x_pos ) self . tablewidth = self . col_positions [ len ( self . col_positions ) - 1 ] return