This is probably a really simple problem, but here it is nonetheless:
I have a form with two grids which are parent/child and I want to save the child and reload when the parent row changes. If I edit a cell in the child, then select a different row in the parent, I lose the changes in the cell unless I first scroll to a different row in the child.
The documentation for the grid indicates that something like
childgrid.currentcell.leaveedit(True)
should do the trick, but no such luck. I am calling this on the parent.rowindexchanged event – is there somewhere else I should try (childgrid.leave)?
Imported from legacy forums. Posted by bearman (had 1972 views)