Hi Peter,
Thank you for using Syncfusion products,
You can commit the changes into the ItemsSource once you complete the editing of the cell without moving to next row by calling
SfDataGrid.View.CommitEdit method in
SfDataGrid.CurrentCellEndEdit event. Please find the attached sample.
Sample Link
CurrentCellEndEdit event triggered,
<syncfusion:SfDataGrid
x:Name="sdgGrid1"
Grid.Row="1"
LiveDataUpdateMode="AllowDataShaping"
Margin="3,3,3,3"
AllowEditing="True"
ScrollViewer.VerticalScrollBarVisibility="Visible"
CurrentCellEndEdit="sdgGrid1_CurrentCellEndEdit" />
|
Private Sub sdgGrid1_CurrentCellEndEdit(sender As Object, args As CurrentCellEndEditEventArgs)
If (sdgGrid1.View.IsEditingItem) Then
sdgGrid1.View.CommitEdit()
End If
End Sub
|
Please let me know if you have any queries.
Regards,
Elangovan S