Spread for ASP.NET 10 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > Cancel |
Cancels the changes since the most recent postback.
[JavaScript]
FpSpread1.Cancel();
None
None
This method is similar to pressing the Cancel button on the command bar. This method causes a postback to occur.
This is a sample that contains the method. On the client side, the script that contains the method would look like this:
JavaScript |
Copy Code
|
---|---|
<script type="text/javascript"> function onCancelButtonClick() { FpSpread1.Cancel(); // cancels the changes } </script> |