I am having some problems with a grid I am creating. On this grid, of type UltraGrid, I have several columns, but there are two particular ones that are resulting in problems for me.
The problem that occurs is when the user enters the EndDate field and specifies an invalid date (such as 2/31/2008). Then after specifing this invalid value they click on Delete column for that row. When I click on the Delete Column is when I get some unusual behaviors that are causing problems start. When I click on the Delete button if fires the OnCellDataError Event, followed by the OnCellClick Event, followed by another calling of the OnCellDataError Event. This results in two error messages coming up before the user is asked to confirm the deletion of the row.
Is there any way to either prevent the user from clicking the delete column if there is an error in the EndDate Column or a way to prevent the error message from coming up when the user deletes the column?
There's no CellClick event in the grid that I am aware of. Do you mean ClickCellButton?
I tested this out and I do see a problem here. If the date cell has an error and fires CellDataError, then the button cell should never get focus and should not fire the click event at all. This looks like a bug to me. You should report this to Infragistics Developer Support so they can check it out.
Get Help
Yes sorry, I meant the ClickCellButton event instead of CellClick.
How do I report this to the Infragistics Developer Support so they can take a look at it?
Just follow the link in my previous post.