In the OnCurrentCellEndEdit event I want to alter the value the user entered and then save that value in the cell.
For example, if the e.NewValue is "123:456" I want to modify the value and put "123456" into the cell.
My grid item source is a data table and the following code does not work.
var record = dataGrid.GetRecordAtRowIndex(e.RowColumnIndex.RowIndex);
if (record is DataRowView dataRowView)
{
dataRowView[e.RowColumnIndex.ColumnIndex] = newValue;
}