code: def OnExitSelectionMode(self, event):
          
  
          self.grid.sel_mode_cursor = None
          self.grid.EnableDragGridSize(True)
          self.grid.EnableEditing(True)
docs: Event handler for leaving selection mode, enables cell edits