Hi guys.
I have a wingrid with CellChange event will be triggered when user enter a value into certain cell.
I will check the validity of the value, if found error then I used e.Cell.Row.Cells("Quantity").Value=DBNull.Value.
Unfortunately, the wingrid is not updated until the cell lost focus.
I tried to use wingrid.UpdateDate to see if the grid can be updated after setting the value but I failed.
Please advice..
In the CellChange event, the Value is still the old value and the Text is updated only. Anyway, I think it is better to do it in the BeforeCellUpdate event.