onStyleSet

fires when a new style is set for a cell

void onStyleSet(string name, [string value] );
namestringthe style name
valuestringthe cell value

Example

$$("ssheet").attachEvent("onStyleSet",function(name, value){
    // your code here
});

Details

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
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 popular javascript framework and page of web based spreadsheet product.