Spread for ASP.NET 10 Product Documentation
CancelEdit Method (FpSpread)
Example 


Discards the editing values in the Spread component.
Syntax
'Declaration
 
Public Sub CancelEdit() 
'Usage
 
Dim instance As FpSpread
 
instance.CancelEdit()
public void CancelEdit()
Example
This example cancels editing, discarding edited values and reverting back to the original values.
private void btnCancelEdit_Click(object sender, EventArgs e)
{
//This method has the same effect as clicking the Cancel button in the FpSpread commandbar
FpSpread1.CancelEdit();
}
Private Sub btnCancelEdit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
'This method has the same effect as clicking the Cancel button in the FpSpread commandbar
FpSpread1.CancelEdit()
End Sub
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

FpSpread Class
FpSpread Members

 

 


Copyright © GrapeCity, inc. All rights reserved.