GanttEventBuilder
Defines the fluent API for configuring the Kendo Gantt for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class GanttEventBuilder : EventBuilder
Inheritance: objectEventBuilderGanttEventBuilder
Inherited Members
Constructors
public GanttEventBuilder(IDictionary<string, object> events)
Methods
Defines the handler of the Add client-side event. Fired when a new task or a new dependency is about to be added.The event handler function context (available via the this keyword) will be set to the widget instance.
public GanttEventBuilder Add(string handler)
The name of the JavaScript function that will handle the Add event.
Returns:Defines the handler of the Cancel client-side event. Fired when the user cancels tasks's cell editing by pressing the 'Esc' key.The event handler function context (available via the this keyword) will be set to the widget instance.
public GanttEventBuilder Cancel(string handler)
The name of the JavaScript function that will handle the Cancel event.
Returns:Defines the handler of the Change client-side event. Fired when the user selects a task in the Gantt.The event handler function context (available via the this keyword) will be set to the widget instance.
public GanttEventBuilder Change(string handler)
The name of the JavaScript function that will handle the Change event.
Returns:Defines the handler of the ColumnHide client-side event. Fires when the user hides a column. The event handler function context (available through the this keyword) will be set to the widget instance.
public GanttEventBuilder ColumnHide(string handler)
The name of the JavaScript function that will handle the ColumnHide event.
Returns:Defines the handler of the ColumnReorder client-side event. Fires when the user changes the order of a column. The event handler function context (available through the this keyword) will be set to the widget instance.
public GanttEventBuilder ColumnReorder(string handler)
The name of the JavaScript function that will handle the ColumnReorder event.
Returns:Defines the handler of the ColumnResize client-side event. Fired when the user resizes a column.The event handler function context (available via the this keyword) will be set to the widget instance.
public GanttEventBuilder ColumnResize(string handler)
The name of the JavaScript function that will handle the ColumnResize event.
Returns:Defines the handler of the ColumnShow client-side event. Fires when the user shows a column. The event handler function context (available through the this keyword) will be set to the widget instance.
public GanttEventBuilder ColumnShow(string handler)
The name of the JavaScript function that will handle the ColumnShow event.
Returns:Defines the handler of the DataBinding client-side event. Fired before the widget binds to its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
public GanttEventBuilder DataBinding(string handler)
The name of the JavaScript function that will handle the DataBinding event.
Returns:Defines the handler of the DataBound client-side event. Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
public GanttEventBuilder DataBound(string handler)
The name of the JavaScript function that will handle the DataBound event.
Returns:Defines the handler of the Edit client-side event. Fired when the user starts task edit upon double click on a cell.The event handler function context (available via the this keyword) will be set to the widget instance.
public GanttEventBuilder Edit(string handler)
The name of the JavaScript function that will handle the Edit event.
Returns:Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Gantt is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public GanttEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Defines the handler of the Move client-side event. Fired when the user is moving a task.The event handler function context (available via the this keyword) will be set to the widget instance.
public GanttEventBuilder Move(string handler)
The name of the JavaScript function that will handle the Move event.
Returns:Defines the handler of the MoveEnd client-side event. Fired when the user stops moving a task.The event handler function context (available via the this keyword) will be set to the widget instance.
public GanttEventBuilder MoveEnd(string handler)
The name of the JavaScript function that will handle the MoveEnd event.
Returns:Defines the handler of the MoveStart client-side event. Fired when the user starts to drag a task.The event handler function context (available via the this keyword) will be set to the widget instance.
public GanttEventBuilder MoveStart(string handler)
The name of the JavaScript function that will handle the MoveStart event.
Returns:Defines the handler of the Navigate client-side event. Fired when the user changes the selected view of the Gantt.The event handler function context (available via the this keyword) will be set to the widget instance.
public GanttEventBuilder Navigate(string handler)
The name of the JavaScript function that will handle the Navigate event.
Returns:Defines the handler of the PdfExport client-side event. Fired when the user clicks the "Export to PDF" toolbar button.
public GanttEventBuilder PdfExport(string handler)
The name of the JavaScript function that will handle the PdfExport event.
Returns:Defines the handler of the Remove client-side event. Fired when a task or a dependency is about to be removed.The event handler function context (available via the this keyword) will be set to the widget instance.
public GanttEventBuilder Remove(string handler)
The name of the JavaScript function that will handle the Remove event.
Returns:Defines the handler of the Resize client-side event. Fired when the user is resizing a task.The event handler function context (available via the this keyword) will be set to the widget instance.
public GanttEventBuilder Resize(string handler)
The name of the JavaScript function that will handle the Resize event.
Returns:Defines the handler of the ResizeEnd client-side event. Fired when the user releases the mouse after resizing a task.The event handler function context (available via the this keyword) will be set to the widget instance.
public GanttEventBuilder ResizeEnd(string handler)
The name of the JavaScript function that will handle the ResizeEnd event.
Returns:Defines the handler of the ResizeStart client-side event. Fired when the user starts to resize a task.The event handler function context (available via the this keyword) will be set to the widget instance.
public GanttEventBuilder ResizeStart(string handler)
The name of the JavaScript function that will handle the ResizeStart event.
Returns:Defines the handler of the Save client-side event. Fired when a task field is updated upon user interaction.The event handler function context (available via the this keyword) will be set to the widget instance.
public GanttEventBuilder Save(string handler)
The name of the JavaScript function that will handle the Save event.
Returns:Defines the handler of the TogglePlannedTasks client-side event. The event will be raised upon Toolbar PlannedTasks Switch click. As a result, the planned tasks will be either hidden or shown in the Gantt Timeline view. The event is preventable.The event handler function context (available via the this keyword) will be set to the widget instance.
public GanttEventBuilder TogglePlannedTasks(string handler)
The name of the JavaScript function that will handle the TogglePlannedTasks event.
Returns: