DayPilot.Scheduler.crosshairType

The crosshairType property (string) determines the crosshair mode used by the JavaScript Scheduler component.

Declaration

DayPilot.Scheduler.crosshairType

Possible 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]

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript