code: def OnGridEditorCreated(self, event):
          
  
          editor = event.GetControl()
          editor.Bind(wx.EVT_KILL_FOCUS, self.OnGridEditorClosed)
  
          event.Skip()
docs: Used to capture Editor close events