Gets or sets the css class of the Item.
Namespace: MindFusion.Scheduling
File: Item.js
JavaScript Copy Code |
---|
get cssClass() {} |
A String that specifies the name of the css theme file. If necessary, specify the full path to the theme file.
The css file with the theme should be located in a directory "themes" at the same level as the JavaScript file with the Calendar that references it. If not, specify the full path.
The following code creates schedule items and assigns a custom CSS class to each 5th of them.
JavaScript Copy Code |
---|
// add some items to the schedule items collection // add a custom css class to some items |