SSpread.EditError Event
Occurs when an invalid input operation is performed.
The following child objects are attached to the Event object.
| Type | Name | Description | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Number | Col | Column number of the cell where the invalid input was made | ||||||||||||||
| Number | Row | Row number of the cell where the invalid input was made | ||||||||||||||
| Number | EditError | Integer value corresponding to the operation performed The following values are set.
|
Example of usage
Function OnEditError(e) {
if (e.EditError == 1) {
MessageBox (strf ("(% 1,% 2) is locked ", e.Col, e.Row));
}
}
Related Item
Lock, Protect, RestrictCols, RestrictRows property
EditChange, EditModeOff, EditModeOn event