PEATDB/Tables.py
def gotonextRow(self):
        """Programmatically set next 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.draw_selected_rect(self.currentrow, self.currentcol)
        self.drawSelectedRow()
        coltype = self.model.getColumnType(self.currentcol)
        if coltype == 'text' or coltype == 'number':
            self.draw_cellentry(self.currentrow, self.currentcol)
        return
Programmatically set next row - eg. for button events
Programmatically set next row - eg. for button events
Programmatically set next row - eg . for button events
def gotonextRow(self):
        self.clearSelected()
        current = self.getSelectedRow()
        self.setSelectedRow(current+1)
        self.startrow = current+1
        self.endrow = current+1
        self.multiplerowlist=[]
        self.multiplerowlist.append(self.currentrow)
        self.draw_selected_rect(self.currentrow, self.currentcol)
        self.drawSelectedRow()
        coltype = self.model.getColumnType(self.currentcol)
        if coltype == 'text' or coltype == 'number':
            self.draw_cellentry(self.currentrow, self.currentcol)
        return
def gotonextRow ( self ) : self . clearSelected ( ) current = self . getSelectedRow ( ) self . setSelectedRow ( current + 1 ) self . startrow = current + 1 self . endrow = current + 1 self . multiplerowlist = [ ] self . multiplerowlist . append ( self . currentrow ) self . draw_selected_rect ( self . currentrow , self . currentcol ) self . drawSelectedRow ( ) coltype = self . model . getColumnType ( self . currentcol ) if coltype == 'text' or coltype == 'number' : self . draw_cellentry ( self . currentrow , self . currentcol ) return
Programmatically set next row - eg.
Programmatically set next row - eg .
"""Programmatically set next row - eg. for button events""" #reset multiple selection list
self