Skip to main content

MVCxClientGantt Class

A client-side counterpart of the Gantt extension.

Declaration

declare class MVCxClientGantt extends ASPxClientGantt

Remarks

Run Demo: MVC Gantt - Client-Side Events

@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    settings.ClientSideEvents.StartCellEditing = "onGanttStartEdit";

    ...
}).Bind(
    GanttDataProvider.Tasks, 
    GanttDataProvider.Dependencies, 
    GanttDataProvider.Resources, 
    GanttDataProvider.ResourceAssignments)
  .GetHtml()
function onGanttStartEdit(s,e) {
    // your code
    e.cancel = true.
}
See Also