The crosshairTimeHeaderLevel property defines which time header row is used to highlight the current position in the JavaScript Scheduler component. Read more about the crosshair.
Declaration
DayPilot.Scheduler.crosshairTimeHeaderLevelPossible Values
"Last"- uses the last (bottom) row of the time header.number- uses the specified row using a 0-based index from top to bottom.
Default Value
"Last"Notes
This property affects the header row highlighted by the Scheduler crosshair.
Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
crosshairTimeHeaderLevel: 0,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
crosshairTimeHeaderLevel: 0,
// ...
};React
<DayPilotScheduler
crosshairTimeHeaderLevel={0}
{/* ... */}
/>Vue
<DayPilotScheduler
:crosshairTimeHeaderLevel="0"
<!-- ... -->
/>See Also
Crosshair [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot