Version

EditModeBehaviorOnDataUpdate Property

Controls how the value of the editor in the cell that's in edit mode is updated when the corresponding data in the underlying data source is changed. Default value is resolved to UpdateEditValue.
Syntax
'Declaration
 
Public Property EditModeBehaviorOnDataUpdate As EditModeBehaviorOnDataUpdate
public EditModeBehaviorOnDataUpdate EditModeBehaviorOnDataUpdate {get; set;}
Remarks

By default when a cell's value changes in the data source, the cell reflects the new value, even if the cell is in edit mode. If the user is attempting to modify the cell's value, any modifications that the user may have made during the current edit session of the cell are discarded and the new value from the data source is displayed by the editor. To change this behavior so the cell that's in edit mode retains its current value when the underlying value in the data source is changed, set this property to UpdateOriginalValueOnly. This will update the editor's OriginalValue to the new value, which is used when the user presses Escape key to cancel edit session and revert back to the original value. This has the end effect of allowing the user to continue editing cell's value without potential interference from updates to the cell's data in the data source.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also