I have a winform which has several UltraGrid on it. I have been doing cell validation in
OnBeforeExitEditMode() event. However, I am now in a situation that I have to validate based on values from more than one cells. So I have to perform validation after user has entered all the data for the entire row. Is there an event that captures row changes? OnBeforeExitEditMode() will not work since it is fired after every cell change. I tried
OnBeforeRowDeactivate() but this event does not fire when user clicks on another grid or close the form.
I am coding with Infragistics V9.1. Thanks.
The event you are looking for is BeforeRowUpdate.
Thanks for the response. According to my tests, BeforeRowUpdate() gets fired after every cell change. This will not work for me since, for example, I have a StartDate and EndDate in the row. I would like to verify that if user has entered StartDate, then EndDate cannot be null. So I need to validate at row level.