DayPilot.CellArray.addClass

The addClass() method adds the specified CSS class to all cells in the array.

Declaration

DayPilot.CellArray.addClass(className)

Parameters

  • className - CSS class to be added (string)

Example

dp.cells.all().addClass("my-class");