(self, columnIndex)
return maxw
Get the longest cell entry in the col
Get the longest cell entry in the col
Get the longest cell entry in the col
def getlongestEntry(self, columnIndex):
        """Get the longest cell entry in the col"""

        collist = self.getColCells(columnIndex)
        maxw=5
        for c in collist:
            try:
                w = len(str(c))
            except UnicodeEncodeError:
                pass
            if w > maxw:
                maxw = w
        #print 'longest width', maxw
        return maxw
def getlongestEntry ( self , columnIndex ) : collist = self . getColCells ( columnIndex ) maxw = 5 for c in collist : try : w = len ( str ( c ) ) except UnicodeEncodeError : pass if w > maxw : maxw = w #print 'longest width', maxw return maxw