removeCss
removes CSS class from a component item
void removeCss(string|number id,string css, [boolean silent] );
string|number | ID of the necessary item | | css |
string | CSS class name | | silent |
boolean | if 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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.