DayPilot.Gantt.rowCreateHandling

The rowCreateHandling property (string) specifies the default action performed by the JavaScript Gantt Chart when new row text is submitted.

Declaration

DayPilot.Gantt.rowCreateHandling

Possible Values

  • "Disabled" - row creating is disabled.

  • "Enabled" - row creating is enabled, but submit performs no default action. Use onRowCreate or onRowCreated for custom handling.

  • "CallBack" - uses ASP.NET WebForms, ASP.NET MVC, and Java versions only.

  • "PostBack" - uses the ASP.NET WebForms postback handler.

Default Value

"Disabled"

Examples

JavaScript

const gantt = new DayPilot.Gantt("dp", {
  rowCreateHandling: "Enabled",
  // ...
});
gantt.init();

Angular

<daypilot-gantt [config]="config"></daypilot-gantt>
config: DayPilot.GanttConfig = {
  rowCreateHandling: "Enabled",
  // ...
};

React

<DayPilotGantt
  rowCreateHandling="Enabled"
  {/* ... */}
/>

Vue

<DayPilotGantt
  rowCreateHandling="Enabled"
  <!-- ... -->
/>

See Also

DayPilot.Gantt.rowCreateAllowTimeRangeSelection

DayPilot.Gantt Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript