removeCss

removes CSS class from a component item

void removeCss(string|number id,string css, [boolean silent] );
idstring|numberID of the necessary item
cssstringCSS class name
silentbooleanif true, the component is not redrawn

Example

//this points to a component object
//this.my_marked is an id of a previously marked data item 
this.removeCss(this.my_marked, "my_custom_mark");

Related samples

Details

The method is true for removing CSS only from those items which CSS was previously added by addCSS().

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 treemap product.