setFormat

sets a custom format for a cell

void setFormat(number rowId,number columnId,string format, [string page] );
rowIdnumberthe row id
columnIdnumberthe column id
formatstringconditions for formatting the cell content, separated by semi-colons (the format details)
pagestringoptional, the name of the sheet

Example

$$("ss1").setFormat(2, 2, "[>1000]> 0.0;[>100]Check 0,000.0#;[=0]Nope", "Sheet1");

Related samples

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix web development library and page of javascript spreadshee product.