gui/controls/gridview.py
def EndEdit(self, row, col, grid, val=None):
        "Complete the editing of the current cell. Returns True if changed"
        changed = False
        val = self._tc.GetStringSelection()
        print "val", val, row, col, self.startValue
        if val != self.startValue:
            changed = True
            grid.GetTable().SetValue(row, col, val) # update the table
        self.startValue = ''
        self._tc.SetStringSelection('')
        return changed
def EndEdit(self, row, col, grid, val=None):
        "Complete the editing of the current cell. Returns True if changed"
        changed = False
        val = self._tc.GetStringSelection()
        print "val", val, row, col, self.startValue
        if val != self.startValue:
            changed = True
            grid.GetTable().SetValue(row, col, val) # update the table
        self.startValue = ''
        self._tc.SetStringSelection('')
        return changed
def EndEdit ( self , row , col , grid , val = None ) : changed = False val = self . _tc . GetStringSelection ( ) print "val" , val , row , col , self . startValue if val != self . startValue : changed = True grid . GetTable ( ) . SetValue ( row , col , val ) # update the table
 self . startValue = '' self . _tc . SetStringSelection ( '' ) return changed
Complete the editing of the current cell. Returns True if changed
Complete the editing of the current cell . Returns True if changed