The taskMovingStartEndFormat property (string) specifies the date/time format used by the JavaScript Gantt Chart target position indicators.
The indicators can be enabled using taskMovingStartEndEnabled. The format string follows DayPilot.Date.toString().
Declaration
DayPilot.Gantt.taskMovingStartEndFormatDefault Value
"MMMM d, yyyy"Examples
JavaScript
const gantt = new DayPilot.Gantt("dp", {
taskMovingStartEndFormat: "h:mm tt",
// ...
});
gantt.init();Angular
<daypilot-gantt [config]="config"></daypilot-gantt>config: DayPilot.GanttConfig = {
taskMovingStartEndFormat: "h:mm tt",
// ...
};React
<DayPilotGantt
taskMovingStartEndFormat="h:mm tt"
{/* ... */}
/>Vue
<DayPilotGantt
taskMovingStartEndFormat="h:mm tt"
<!-- ... -->
/>See Also
DayPilot.Gantt.taskMovingStartEndEnabled
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot