applied CSS class to a component item
id | string|number | ID of the neccessary item |
css | string | CSS class name |
silent | boolean | optional,if true,the component is not redrawn |
// this points to a component object
// context.target is a data item id in drag-n-drop context
this.addCss(context.target, "my_custom_mark");