DayPilot.Gantt.rowSelectHandling

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

Declaration

DayPilot.Gantt.rowSelectHandling

Possible Values

  • "Update" - highlights the row using the built-in row selection styles.

  • "Notify" - fires the RowSelect event on the server side (ASP.NET WebForms, ASP.NET MVC, Java only).

  • "CallBack" - fires the RowSelect event on the server side (ASP.NET WebForms, ASP.NET MVC, Java only).

  • "PostBack" - fires the RowMove event on the server side (ASP.NET WebForms).

Default Value

"Update"

Examples

JavaScript

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

Angular

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

React

<DayPilotGantt
  rowSelectHandling="CallBack"
  {/* ... */}
/>

Vue

<DayPilotGantt
  rowSelectHandling="CallBack"
  <!-- ... -->
/>

See Also

DayPilot.Gantt.onRowSelect

DayPilot.Gantt.onRowSelected

DayPilot.Gantt Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript