Forcing the end of an edit in a GDBG

I have been trying to figure out how to force the edit of a row to be complete (specifically in order to get the RowSaved event to fire). My situation is that when the user leaves a cell in edit mode and then uses a menu to `Save` changes, the row he was changing does not get saved. I have tried the following from within the menu Click event. Grid.CurrentCell.EndEdit() Grid.Binder.EndEdit()

2 Replies

AD Administrator Syncfusion Team April 18, 2005 04:24 PM UTC

At the beginning of your menu handler, try calling: this.Validate(); //this refers the Form or UserControl


VI Virgil April 18, 2005 05:25 PM UTC

Works great. Thanks a bunch =)

Loader.
Up arrow icon