Skip to content
This repository was archived by the owner on Nov 28, 2024. It is now read-only.

Commit 7710738

Browse files
committed
Revert "Ensure row refreshes and redraws after committing a change from inline edit mode."
This reverts commit af793ef.
1 parent af793ef commit 7710738

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Controls/Grid/Grid.UWP/View/Services/Editing/EditingService.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,20 +118,18 @@ public bool CommitEdit(ActionTrigger trigger)
118118
if (trigger != ActionTrigger.ExternalEditor)
119119
{
120120
this.Owner.ExternalEditor.CommitEdit();
121-
this.Owner.CurrencyService.RefreshCurrentItem(true);
122121
}
123122
}
124123
else
125124
{
126125
this.Owner.Model.CommitEdit();
127126
this.Owner.EditRowLayer.EditorLayoutSlots.Clear();
128-
this.Owner.CurrencyService.RefreshCurrentItem(true);
129127
}
130128

131129
this.Owner.Model.CurrentDataProvider.CommitEditOperation(this.EditItem);
132130
})
133131
{
134-
Flags = UpdateFlags.AffectsData,
132+
Flags = UpdateFlags.AffectsContent,
135133
Priority = CoreDispatcherPriority.Low
136134
};
137135

@@ -140,7 +138,7 @@ public bool CommitEdit(ActionTrigger trigger)
140138

141139
this.Owner.updateService.RegisterUpdate(update);
142140

143-
update = new DelegateUpdate<UpdateFlags>(() =>
141+
update = new DelegateUpdate<UpdateFlags>(() =>
144142
{
145143
if (this.Owner.UserEditMode == DataGridUserEditMode.External)
146144
{

0 commit comments

Comments
 (0)