The rowCreateHandling property (string) specifies the default action performed by the JavaScript Gantt Chart when new row text is submitted.
Declaration
DayPilot.Gantt.rowCreateHandlingPossible Values
"Disabled"- row creating is disabled."Enabled"- row creating is enabled, but submit performs no default action. UseonRowCreateoronRowCreatedfor 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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot