This repository was archived by the owner on Nov 28, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Controls/Grid/Grid.UWP/View/Services/Editing Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -118,18 +118,20 @@ public bool CommitEdit(ActionTrigger trigger)
118118 if ( trigger != ActionTrigger . ExternalEditor )
119119 {
120120 this . Owner . ExternalEditor . CommitEdit ( ) ;
121+ this . Owner . CurrencyService . RefreshCurrentItem ( true ) ;
121122 }
122123 }
123124 else
124125 {
125126 this . Owner . Model . CommitEdit ( ) ;
126127 this . Owner . EditRowLayer . EditorLayoutSlots . Clear ( ) ;
128+ this . Owner . CurrencyService . RefreshCurrentItem ( true ) ;
127129 }
128130
129131 this . Owner . Model . CurrentDataProvider . CommitEditOperation ( this . EditItem ) ;
130132 } )
131133 {
132- Flags = UpdateFlags . AffectsContent ,
134+ Flags = UpdateFlags . AffectsData ,
133135 Priority = CoreDispatcherPriority . Low
134136 } ;
135137
@@ -138,7 +140,7 @@ public bool CommitEdit(ActionTrigger trigger)
138140
139141 this . Owner . updateService . RegisterUpdate ( update ) ;
140142
141- update = new DelegateUpdate < UpdateFlags > ( ( ) =>
143+ update = new DelegateUpdate < UpdateFlags > ( ( ) =>
142144 {
143145 if ( this . Owner . UserEditMode == DataGridUserEditMode . External )
144146 {
You can’t perform that action at this time.
0 commit comments