The rowCreateHandling property (string) specifies the default action performed by the JavaScript Scheduler when new row text is submitted.
Declaration
DayPilot.Scheduler.rowCreateHandlingPossible Values
"Disabled"- row creating is disabled."Enabled"- row creating is enabled but submitting the text performs no default action. Use onRowCreate or onRowCreated for custom handling."CallBack"- fires the server-side RowCreate event using a CallBack (ASP.NET WebForms and ASP.NET MVC and Java versions only)."PostBack"- fires the server-side RowCreate event using a PostBack (ASP.NET WebForms only).
Default Value
"Disabled"Notes
Use onRowCreate when you need to validate or cancel the submitted text before the default action runs. Use onRowCreated after the default action has completed.
Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
rowCreateHandling: "Enabled",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
rowCreateHandling: "Enabled",
// ...
};React
<DayPilotScheduler
rowCreateHandling="Enabled"
{/* ... */}
/>Vue
<DayPilotScheduler
rowCreateHandling="Enabled"
<!-- ... -->
/>See Also
Row Creating [doc.daypilot.org]
DayPilot.Scheduler.onRowCreate
DayPilot.Scheduler.onRowCreated
DayPilot.Scheduler.rowCreateAllowTimeRangeSelection
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot