The addClass() method adds the specified CSS class to all cells in the array.
Declaration
DayPilot.CellArray.addClass(className)Parameters
className(string) - CSS class to add to all cells in the array
Example
dp.cells.all().addClass("my-class");See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot