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


//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


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

See also
Back to top