The rowCreateAllowTimeRangeSelection property (boolean) enables time range selection for the new task row in the JavaScript Gantt Chart.
Declaration
DayPilot.Gantt.rowCreateAllowTimeRangeSelectionPossible Values
true- enables time range selection for the new task row.false- keeps time range selection disabled for the new task row.
Default Value
falseExamples
JavaScript
const gantt = new DayPilot.Gantt("dp", {
rowCreateHandling: "Enabled",
rowCreateAllowTimeRangeSelection: true,
// ...
});
gantt.init();Angular
<daypilot-gantt [config]="config"></daypilot-gantt>config: DayPilot.GanttConfig = {
rowCreateHandling: "Enabled",
rowCreateAllowTimeRangeSelection: true,
// ...
};React
<DayPilotGantt
rowCreateHandling="Enabled"
rowCreateAllowTimeRangeSelection={true}
{/* ... */}
/>Vue
<DayPilotGantt
rowCreateHandling="Enabled"
:rowCreateAllowTimeRangeSelection="true"
<!-- ... -->
/>See Also
DayPilot.Gantt.rowCreateHandling
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot