removeCss

removes CSS class from a component item

void removeCss(string|number id,string css, [boolean silent] );
id
string|numberID of the necessary item css
stringCSS class name silent
booleanif 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
  • API
  • Articles
  • Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.