(self)
return
Programmatically set previous row - eg. for button events
Programmatically set previous row - eg. for button events
Programmatically set previous row - eg . for button events
def gotoprevRow(self):
        """Programmatically set previous row - eg. for button events"""
        self.clearSelected()
        current = self.getSelectedRow()
        self.setSelectedRow(current-1)
        self.startrow = current-1
        self.endrow = current-1
        #reset multiple selection list
        self.multiplerowlist=[]
        self.multiplerowlist.append(self.currentrow)
        self.drawSelectedRect(self.currentrow, self.currentcol)
        self.drawSelectedRow()
        coltype = self.model.getColumnType(self.currentcol)
        if coltype == 'text' or coltype == 'number':
            self.drawCellEntry(self.currentrow, self.currentcol)
        return
def gotoprevRow ( self ) : self . clearSelected ( ) current = self . getSelectedRow ( ) self . setSelectedRow ( current - 1 ) self . startrow = current - 1 self . endrow = current - 1 #reset multiple selection list self . multiplerowlist = [ ] self . multiplerowlist . append ( self . currentrow ) self . drawSelectedRect ( self . currentrow , self . currentcol ) self . drawSelectedRow ( ) coltype = self . model . getColumnType ( self . currentcol ) if coltype == 'text' or coltype == 'number' : self . drawCellEntry ( self . currentrow , self . currentcol ) return