applied CSS class to a component item

void addCss(string|number id,string css, [boolean silent] );
idstring|numberID of the neccessary item
cssstringCSS class name
silentbooleanoptional,if true,the component is not redrawn


// this points to a component object
// is a data item id in drag-n-drop context
this.addCss(, "my_custom_mark");

Related samples

See also
Back to top