code: def ApplyEdit(self, row, col, grid):
          
  
          val = self._tc.GetValue()
          grid.GetTable().SetValue(row, col, val)  # update the table
  
          self.startValue = ''
          self._tc.SetValue('')
docs: This function should save the value of the control into the
          grid or grid table. It is called only after EndEdit() returns
          a non-None value.
          *Must Override*