DayPilot.Scheduler.rowClickHandling

The rowClickHandling property (string) specifies the default action for row header clicks in the JavaScript Scheduler. See also onRowClick and onRowClicked.

Declaration

DayPilot.Scheduler.rowClickHandling

Possible Values

  • "Disabled" - row clicking is disabled.

  • "Enabled" - row clicking is enabled and onRowClick and onRowClicked fire without performing a built-in action.

  • "PostBack" - fires the server-side RowClick event using a PostBack (ASP.NET WebForms only).

  • "CallBack" - fires the server-side RowClick event using a CallBack (ASP.NET WebForms and ASP.NET MVC and Java versions only).

  • "JavaScript" - fires onRowClick on the client side (ASP.NET WebForms and ASP.NET MVC only, API v1).

  • "Edit" - activates inline row header editing.

  • "Select" - selects a row.

Default Value

"Disabled"

Notes

Use onRowClick when you need to inspect the click or cancel the default action before it runs. onRowClicked fires after the default action has completed.

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  rowClickHandling: "Edit",
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  rowClickHandling: "Edit",
  // ...
};

React

<DayPilotScheduler
  rowClickHandling="Edit"
  {/* ... */}
/>

Vue

<DayPilotScheduler
  rowClickHandling="Edit"
  <!-- ... -->
/>

See Also

Row Editing [doc.daypilot.org]

Row Selecting [doc.daypilot.org]

DayPilot.Scheduler.onRowClick

DayPilot.Scheduler.onRowClicked

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript