onBeforeValueChange

fires before the value of a cell is changed

boolean onBeforeValueChange(number row,number column,string newValue,string oldValue);
rownumberthe row id
columnnumberthe column id
newValuestringthe new value
oldValuestringthe old value
booleanreturning 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.
If you have not checked yet, be sure to visit site of our main product Webix mvc library and page of spreadsheet javascript library product.