The rowCreateHandling property (string) specifies the default action performed by the JavaScript Scheduler when new row text is submitted.
DayPilot.Scheduler.rowCreateHandling"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).
"Disabled"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.
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"
<!-- ... -->
/>Row Creating [doc.daypilot.org]
DayPilot.Scheduler.onRowCreate
DayPilot.Scheduler.onRowCreated