DayPilot.Gantt.rowCreateAllowTimeRangeSelection

The rowCreateAllowTimeRangeSelection property (boolean) enables time range selection for the new task row in the JavaScript Gantt Chart.

Declaration

DayPilot.Gantt.rowCreateAllowTimeRangeSelection

Possible Values

  • true - enables time range selection for the new task row.

  • false - keeps time range selection disabled for the new task row.

Default Value

false

Examples

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

DayPilot.Gantt Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript