The rowSelectHandling property (string) specifies the default action used for row selecting in the JavaScript Scheduler.
DayPilot.Scheduler.rowSelectHandling"Update" - updates the row selection using the built-in client-side behavior.
"Notify" - updates the row selection on the client side and fires the server-side RowSelect event (ASP.NET WebForms, ASP.NET MVC, and Java versions only).
"CallBack" - fires the server-side RowSelect event using CallBack (ASP.NET WebForms, ASP.NET MVC, and Java versions only).
"PostBack" - fires the server-side RowSelect event using PostBack (ASP.NET WebForms only).
"Update"Row selecting must be enabled by mapping a selected user action to "Select", for example using rowClickHandling or rowDoubleClickHandling.
onRowSelect fires before the default action and can cancel it using args.preventDefault(). onRowSelected fires after the default action.
JavaScript
const dp = new DayPilot.Scheduler("dp", {
rowClickHandling: "Select",
rowSelectHandling: "CallBack",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
rowClickHandling: "Select",
rowSelectHandling: "CallBack",
// ...
};React
<DayPilotScheduler
rowClickHandling="Select"
rowSelectHandling="CallBack"
{/* ... */}
/>Vue
<DayPilotScheduler
rowClickHandling="Select"
rowSelectHandling="CallBack"
<!-- ... -->
/>DayPilot.Scheduler.onRowSelect
DayPilot.Scheduler.onRowSelected
DayPilot.Scheduler.rowClickHandling
DayPilot.Scheduler.rowDoubleClickHandling
Row Selecting [doc.daypilot.org]