setStyle

sets a style for a cell

void setStyle(number row,number column,object style, [string page] );
rownumberthe row number
columnnumberthe column number
styleobjectan object with the style that should be set for the cell
pagestringoptional, the name of the sheet

Example

$$("ssheet").setStyle(3, 2, style, "Sheet1");

Details

Note that you can only set the style that already exists. It means that you need:

  • either get some style using the getStyle method
  • or add a new one with the help of the addStyle method.
See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix html5 ui library and page of web based spreadsheet product.