DayPilot.Scheduler.rowSelectHandling

The rowSelectHandling property (string) specifies the default action used for row selecting in the JavaScript Scheduler.

Declaration

DayPilot.Scheduler.rowSelectHandling

Possible Values

  • "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).

Default Value

"Update"

Notes

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.

Examples

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"
  <!-- ... -->
/>

See Also

DayPilot.Scheduler.onRowSelect

DayPilot.Scheduler.onRowSelected

DayPilot.Scheduler.rowClickHandling

DayPilot.Scheduler.rowDoubleClickHandling

Row Selecting [doc.daypilot.org]

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript