I have an ultragrid in edit mode.
I want that the grid validates changes of the active row when a user tries to move the mouse to another row (event without clicking). How could this be achieved?
There are a number of ways to do this.
You could handle the BeforeRowUpdate event.You may also want to set the RowUpdateCancelAction property on the grid to determine what happens when you set e.Cancel to true in BeforeRowUpdate.
Or you could use BeforeCellUpdate or BeforeCellDeactivate if you want more fine control of the validation of each cell.
Hi Mike,
I am not sure I was clear in my initial question: I want to validate the active row when the mouse leaves the active row. I believe I need to capture a mouse event on the grid, isnt'it? Or, is there a property to tell the grid when a row should be updated (on mouse leave, when we press enter etc.)?