The crosshairType property (string) determines the crosshair mode used by the JavaScript Scheduler component.
Declaration
DayPilot.Scheduler.crosshairTypePossible Values
"Disabled"- turns the crosshair off."Full"- shows the full crosshair display."Header"- shows the crosshair in the headers.
Default Value
"Header"Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
crosshairType: "Full",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
crosshairType: "Full",
// ...
};React
<DayPilotScheduler
crosshairType="Full"
{/* ... */}
/>Vue
<DayPilotScheduler
crosshairType="Full"
<!-- ... -->
/>See Also
Crosshair [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot