'Declaration
Public Property RowEditEnding As EventHandler(Of GridCellEditEventArgs)
public EventHandler<GridCellEditEventArgs> RowEditEnding {get; set;}
'Declaration
Public Property RowEditEnding As EventHandler(Of GridCellEditEventArgs)
public EventHandler<GridCellEditEventArgs> RowEditEnding {get; set;}
You can cancel this event by setting the Cancel property of the event argument to true in the event handler.
If this event is not canceled, the edits will be committed or canceled depending on the setting of the CancelEdits property of the event argument.
Alternatively, you can set the IsReadOnly property to true to disable editing in the grid.