ADAdministrator Syncfusion Team July 28, 2004 06:06 AM UTC
In a GridControl, you can handle CurrentCellMoveFailed and set grid.CurrentCell.ErrorMessage = "" there to just suppress the message.
In a GridDataBoundGrid, you can do the same thing in the ValidateFailed event,
BUT, this will not allow your user to leave a cell in an invalid state. So, in a GridControl, if the celltype is double for example, you cannot leave it holding something that is not a double. The reason is that the grid cannot save this value for you, it can only save doubles. So, you will have considerable work to do to postpone checking if you want cells to ''temporarily save'' invalid values until later. One way this could be done is to use CellValueType = typeof(string) for all cells. Then there is not a problem for the grid saving things. Then later you could validate each string to see if it makes sense for the real type you want to see. It will take some work.