code: def OnEnterSelectionMode(self, event):
          
  
          self.grid.sel_mode_cursor = list(self.grid.actions.cursor)
          self.grid.EnableDragGridSize(False)
          self.grid.EnableEditing(False)
docs: Event handler for entering selection mode, disables cell edits