onBeforeValueChange
fires before the value of a cell is changed
boolean onBeforeValueChange(number row,number column,string newValue,string oldValue);
| row | number | the row id |
| column | number | the column id |
| newValue | string | the new value |
| oldValue | string | the old value |
| boolean | returning false will prevent changing the value of a cell |
Example
$$("ssheet").attachEvent("onBeforeValueChange",function(row,column,newValue,oldValue){
// your code here
return true;
});
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.