wxgrid cell edit lose focus

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
guzzi_jones
Experienced Solver
Experienced Solver
Posts: 81
Joined: Sun Dec 08, 2013 3:50 am

wxgrid cell edit lose focus

Post by guzzi_jones » Sun Dec 29, 2013 11:34 pm

Is there an event that is called when a cell edit loses focus?
I would like to write my table back to the database.

User avatar
doublemax
Moderator
Moderator
Posts: 15264
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxgrid cell edit lose focus

Post by doublemax » Mon Dec 30, 2013 2:21 am

Check wxGridEvent:
http://docs.wxwidgets.org/trunk/classwx_grid_event.html

wxEVT_GRID_CELL_CHANGED and wxEVT_GRID_EDITOR_HIDDEN look like interesting candidates.
Use the source, Luke!

Post Reply