wxGrid autoend cell edit control - again

I am still using same code plus

     def Reflect( self, event ):
         #print self.__class__, 'Reflect', event.GetEventType()
         if event.GetEventType() == wxEVT_KILL_FOCUS:
             #print 'SaveEditControlValue'
             self.SaveEditControlValue()

transfer value when grid looses focus.

Niki Spahiev

Thanks for the answers.

But how do you use this Reflect() within your grid (how does it get called)?

Cristina.

C. Iacob wrote:

I am still using same code plus

     def Reflect( self, event ):
         #print self.__class__, 'Reflect', event.GetEventType()
         if event.GetEventType() == wxEVT_KILL_FOCUS:
             #print 'SaveEditControlValue'
             self.SaveEditControlValue()

transfer value when grid looses focus.

Niki Spahiev

Thanks for the answers.

But how do you use this Reflect() within your grid (how does it get called)?

It is connected to wxEVT_KILL_FOCUS

Niki Spahiev