onBeforeStyleChange
fires before applying a new style for a cell
boolean onBeforeStyleChange(number row,number column,object style,object oldStyle, [string page] );
row | number | the ID of the row |
column | number | the ID of the column |
style | object | the new style for a cell |
oldStyle | object | the old style of a cell |
page | string | the name of the sheet |
boolean | returning false will prevent applying a new style for a cell |
Example
$$("spsheet1").attachEvent("onBeforeStyleChange", function(row,col,style,oldSt,page){
// some code here
return true;
});
See also
Back to top