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.
DayPilot.Scheduler.crosshairTimeHeaderLevel"Last" - uses the last (bottom) row of the time header.
number - uses the specified row using a 0-based index from top to bottom.
"Last"This property affects the header row highlighted by the Scheduler crosshair.
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"
<!-- ... -->
/>Crosshair [doc.daypilot.org]