DayPilot.Calendar.headerLevels

The headerLevels property (number) specifies the number of header rows that will be displayed in the resource calendar view. You can use it to display a hierarchy of resources.

Since version 2022.2.5344, you can also use "Auto" value which will detect the maximum automatically. It is now the default value.

Default Value

"Auto"

Example

dp.headerLevels = 2;