DayPilot.CellArray.addClass

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

DayPilot.CellArray Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript