Sometimes a devexpress grid editor won't update the underlying value because the editor hasn't updated yet.
Various commands try to force the editor to update the values but the best thing I've found was the following:
gvwSpotsInFlight.PostEditor() 'Won't work
gvwSpotsInFlight.FocusedRowHandle = 0 'Doesnt seem to work either
' grdSpotsInFlight.RefreshDataSource() 'Not what we're looking for
btnCreateSpVrOwn.Focus() 'Forces the editor to close and workds
Geen opmerkingen:
Een reactie posten