Occurs when an error message is displayed on the client side.
Syntax
[Inline HTML]
<ELEMENT onErrorMessageShown = "handler" ...>
[Event Property]
FpSpread1.onErrorMessageShown = handler
[Named Script]
<SCRIPT FOR=FpSpread1 EVENT=onErrorMessageShown>
Arguments
- event.spread
- Spread control that raises the event
- event.row
- Row coordinate of the cell with the error message
- event.col
- Column coordinate of the cell with the error message
- event.isValid
- Whether the editing value is valid
- event.errorMessage
- Error message
Return Type
None
Remarks
This event is triggered when an error message is displayed on the client side.
Example
This is a sample that contains the event. On the client side, the script that contains the event would look like this:
JavaScript | Copy Code |
---|---|
<SCRIPT language=javascript> function error() { alert("error"); } </SCRIPT> |
See Also
onEditStart | StartEdit | EndEdit | Scripting Members