A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
Thank you for reaching out!
In WPF DataGrid, there isn't a direct RowEditEnded event. However, you can achieve the same outcome using the following recommended approaches:
1.Using RowEditEnding event (UI-Level): This event is triggered when the user finishes editing a row. Since the commit may not be fully applied at the exact moment, recommend deferring your logic slightly using the dispatcher to ensure the changes are committed before processing.
2.Using DataTable.RowChanged event (Recommended): Since your DataGrid is bound to a DataTable, the most reliable approach is to handle the RowChanged event. This event fires after the data have been committed to the DataTable, making it a safe point to send the updated roe to your database,
Recommendation: Suggested using the RowChanged event for a more robust and reliable solution.
Let me know if you need any further help with this. I will be happy to assist.
If you find this helpful, Kindly mark the provided solution as "Accept Answer", so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.