The crosshairType property (string) sets the crosshair mode of the JavaScript Calendar component.
DayPilot.Calendar.crosshairType"Disabled" - disables the crosshair marker.
"Header" - shows the crosshair marker in the time header area.
"Full" - extends the crosshair through the grid.
"Header"JavaScript
const calendar = new DayPilot.Calendar("dp", {
crosshairType: "Full",
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
crosshairType: "Full",
// ...
};React
<DayPilotCalendar
crosshairType="Full"
{/* ... */}
/>Vue
<DayPilotCalendar
crosshairType="Full"
<!-- ... -->
/>Crosshair [doc.daypilot.org]