The crosshairType property (string) sets the crosshair display mode in the Gantt chart.
DayPilot.Gantt.crosshairType
"Disabled" - disables the crosshair position indicator.
"Full" - shows the crosshair across the full Gantt grid.
"Header" - shows the crosshair in the timeline header area.
"Header"
const gantt = new DayPilot.Gantt("dp", {
crosshairType: "Full",
// ...
});
gantt.init();
<daypilot-gantt [config]="config"></daypilot-gantt>
config: DayPilot.GanttConfig = {
crosshairType: "Full",
// ...
};
<DayPilotGantt
crosshairType="Full"
{/* ... */}
/>
<DayPilotGantt crosshairType="Full" <!-- ... --> />