onBeforeFormatChange
fires before cell format is changed
boolean onBeforeFormatChange(number row,number column,string format,string oldFormat, [string page] );
row | number | row ID |
column | number | column ID |
format | string | new format of the cell |
oldFormat | string | old format of the cell |
page | string | the name of the sheet |
boolean | returning false will prevent format changing |
Example
$$("ssheet1").attachEvent("onBeforeFormatChange",function(row,col,format,oldF,page){
// handler code here
return true;
});
See also
Back to top