fires when a new style is set for a cell
name | string | the style name |
value | string | the cell value |
$$("ssheet").attachEvent("onStyleSet",function(name, value){
// your code here
});
Since v11.2 some style-related actions ("font-weight", "font-style", "underline", "strike" and "wrap") work as toggles for menu. So, the callback function for the onStyleSet event for these actions can be called only with the name parameter, while the value parameter will be undefined.
Back to top