I want to cancel the LostFocus in the UltraGrid when the user is about to abandon the grid (which is in edit mode) and the info he has typed in it is not right. I want to unable him to leave the grid until he has completed the requested dates, numbers, etc...
Ideally I would like not to let him leave the row he is in until all the cells are completed...
how can I do that?
Thanks a lot Mike, it works perfect.
Try using the BeforeExitEditMode to do your cell validation. Cancelling this event should keep the user in the cell. For an entire row, you might also have to handle the grid's Validating event, but it depends on whether there are columns in the row that don't enter edit mode.