Dear all,
I have set the cellchange event in the ultragrid and set some checking in it and prompt the message if there is any input error. How can I make sure that there is correct input and then it is allowed to move to another cell by tab, left key or mouse click??
I would use the BeforeExitEditMode event instead of CellChange. If your validation fails, you can set e.Cancel to true to keep the user from leaving the cell.
Hi,
I find that BeforeExitEditModeEventArgs which cannot locate the cell or column index.
How can I do if I want to check the column index and cell value??
You can simply use grid.ActiveCell to get the cell. And, of course, the cell has a Column property.