Revert most of "Redraw the row after canceling inline editing to avoid showing stale content."

Keep only the part that moves the call to RegisterUpdate() in CancelEdit().
This commit is contained in:
Adam Zofware 2022-11-11 08:35:56 -08:00
Родитель cd2473fa7c
Коммит 4eb795ce34
1 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@ -181,20 +181,18 @@ namespace Telerik.UI.Xaml.Controls.Grid
if (trigger != ActionTrigger.ExternalEditor)
{
this.Owner.ExternalEditor.CancelEdit();
this.Owner.CurrencyService.RefreshCurrentItem(true);
}
}
else
{
this.Owner.Model.CancelEdit();
this.Owner.EditRowLayer.EditorLayoutSlots.Clear();
this.Owner.CurrencyService.RefreshCurrentItem(true);
}
this.Owner.Model.CurrentDataProvider.CancelEditOperation(this.EditItem);
})
{
Flags = UpdateFlags.AffectsData
Flags = UpdateFlags.AffectsContent
};
foreach (var pair in this.operation.OriginalValues)