(self, model)
return
Call this method to update the table model
Call this method to update the table model
Call this method to update the table model
def updateModel(self, model):
        """Call this method to update the table model"""

        self.model = model
        self.rows = self.model.getRowCount()
        self.cols = self.model.getColumnCount()
        self.tablewidth = (self.cellwidth)*self.cols
        self.tablecolheader = ColumnHeader(self.parentframe, self)
        self.tablerowheader = RowHeader(self.parentframe, self)
        self.createTableFrame()
        return
def updateModel ( self , model ) : self . model = model self . rows = self . model . getRowCount ( ) self . cols = self . model . getColumnCount ( ) self . tablewidth = ( self . cellwidth ) * self . cols self . tablecolheader = ColumnHeader ( self . parentframe , self ) self . tablerowheader = RowHeader ( self . parentframe , self ) self . createTableFrame ( ) return