DayPilot.Gantt.rowClickHandling

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

Declaration

DayPilot.Gantt.rowClickHandling

Possible Values

  • "Disabled" - row clicking is disabled.

  • "Enabled" - row clicking is enabled, events are fired, and no default action is performed.

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

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

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

  • "Edit" - activates inline row header editing.

  • "Select" - selects a row.

Default Value

"Disabled"

Examples

JavaScript

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

Angular

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

React

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

Vue

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

See Also

DayPilot.Gantt.onRowClick

DayPilot.Gantt.onRowClicked

DayPilot.Gantt Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript