GrapeCity MultiRow Windows Forms Documentation
CommitEdit() Method


Commits changes in the current cell to the data cache without ending edit mode.
Syntax
<FeatureAttribute(Name="UIEdit", Version="v5.0")>
Public Overloads Function CommitEdit() As Boolean
Dim instance As GcMultiRow
Dim value As Boolean
 
value = instance.CommitEdit()
[Feature(Name="UIEdit", Version="v5.0")]
public bool CommitEdit()

Return Value

true if the changes were committed; otherwise, false.
Remarks

If the current cell is not in an edit state, the method always returns true.

If the current cell's editing value is invalid for the current cell, or cannot parse the editing value to the ValueType, the DataError event is fired.

Requirements

Target Platforms: Windows 7, 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

Reference

GcMultiRow Class
GcMultiRow Members
Overload List
CancelEdit Method
BeginEdit Method
CommitEdit(DataErrorContexts) Method
EndEdit Method
EndEdit(DataErrorContexts) Method

 

 


Copyright © GrapeCity, inc. All rights reserved.