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 +2
-4
lines changed
Controls/Grid/Grid.UWP/View/Services/Editing Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments