setFormat

sets a custom format for a cell

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

Example

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

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.