Essential Suite 220.127.116.11
Visual Studio 2002
I''m using the DateTimeCell cell type (I think it was a sample) in order to edit time values in the grid. I''m having a problem getting it to persist changes to the datasource. If I edit the value and then go through my save routine (call EndCurrentEdit on the BindingContext the grid is bound to) the renderer''s OnSaveChanges is not called. If I press enter at the end of the edit, then OnSaveChanges is called. If I use the tab key, it is not called.
I''ve also tried calling grid.CurrentCell.ConfirmChanges() and that doesn''t force OnSaveChanges to be called either (and the DateTimeCell is the current cell).
I''ve tried calling grid.Binder.EndEdit() and grid.CurrentCell.EndEdit() and these don''t have an effect either.
So, what must one do to ensure that the underlying datasource is updated? If I could find the sample that I lifted the cell type from I would try to fashion a repro, but I can''t.