[]
        
(Showing Draft Content)

ErrorMessageShown

Occurs when an error message is displayed on the client side.

Syntax

[Inline HTML]

<ELEMENT ErrorMessageShown = "handler" ...>

[JavaScript]

FpSpread1.addEventListener("ErrorMessageShown", handler, ...)

or

FpSpread1.onErrorMessageShown = handler

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:

<script type="text/javascript">
   function error(event) {
    alert("error");
   }
</script>

See Also

EditStart

StartEdit

EndEdit

Scripting Members