addCss
applied CSS class to a component item
function addCss( // ID of the neccessary item id: string|number, // CSS class name css: string, // optional,if "true",the component is not redrawn silent?: boolean): voidExample
Section titled “Example”// this points to a component object// context.target is a data item id in drag-n-drop contextthis.addCss(context.target, "my_custom_mark");also check the next samples: