OrgChartEventBuilder
Defines the fluent API for configuring the Kendo UI OrgChart for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class OrgChartEventBuilder : EventBuilder
Inheritance: objectEventBuilderOrgChartEventBuilder
Inherited Members
Constructors
Initializes a new instance of the OrgChartEventBuilder class.
public OrgChartEventBuilder(IDictionary<string, object> events)
The OrgChart event handlers.
Methods
Defines the handler of the Cancel client-side event. Triggered when the user is about to cancel the changes for the currently edited node. Preventable.
public OrgChartEventBuilder Cancel(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the Cancel client-side event. Triggered when the user is about to cancel the changes for the currently edited node. Preventable.
public OrgChartEventBuilder Cancel(string handler)
The name of the JavaScript function that will handle the Cancel event.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the Change client-side event. Triggered when the selected node has been changed upon user interaction.
public OrgChartEventBuilder Change(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the Change client-side event. Triggered when the selected node has been changed upon user interaction.
public OrgChartEventBuilder Change(string handler)
The name of the JavaScript function that will handle the Change event.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the Collapse client-side event. Triggered before a node has been collapsed upon user interaction. Preventable.
public OrgChartEventBuilder Collapse(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the Collapse client-side event. Triggered before a node has been collapsed upon user interaction. Preventable.
public OrgChartEventBuilder Collapse(string handler)
The name of the JavaScript function that will handle the Collapse event.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the Create client-side event. Triggered when a node is about to be created upon user interaction. Preventable.
public OrgChartEventBuilder Create(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the Create client-side event. Triggered when a node is about to be created upon user interaction. Preventable.
public OrgChartEventBuilder Create(string handler)
The name of the JavaScript function that will handle the Create event.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the DataBinding client-side event. Triggered before the actual change in the dataSource occurs. Preventable.
public OrgChartEventBuilder DataBinding(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the DataBinding client-side event. Triggered before the actual change in the dataSource occurs. Preventable.
public OrgChartEventBuilder DataBinding(string handler)
The name of the JavaScript function that will handle the DataBinding event.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the DataBound client-side event. Triggered after the dataSource change event has been processed (adding/removing/loading/editing items).
public OrgChartEventBuilder DataBound(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the DataBound client-side event. Triggered after the dataSource change event has been processed (adding/removing/loading/editing items).
public OrgChartEventBuilder DataBound(string handler)
The name of the JavaScript function that will handle the DataBound event.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the Delete client-side event. Triggered when a node is about to be deleted as of a consequence of user interaction. Preventable.
public OrgChartEventBuilder Delete(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the Delete client-side event. Triggered when a node is about to be deleted as of a consequence of user interaction. Preventable.
public OrgChartEventBuilder Delete(string handler)
The name of the JavaScript function that will handle the Delete event.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the Edit client-side event. Triggered when a node is about to enter edit mode upon user interaction. Preventable.
public OrgChartEventBuilder Edit(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the Edit client-side event. Triggered when a node is about to enter edit mode upon user interaction. Preventable.
public OrgChartEventBuilder Edit(string handler)
The name of the JavaScript function that will handle the Edit event.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the Expand client-side event. Triggered before a node has been expanded upon user interaction. Preventable.
public OrgChartEventBuilder Expand(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the Expand client-side event. Triggered before a node has been expanded upon user interaction. Preventable.
public OrgChartEventBuilder Expand(string handler)
The name of the JavaScript function that will handle the Expand event.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the OrgChart is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public OrgChartEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the OrgChart is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public OrgChartEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the Save client-side event. Triggered when the user attempts to save the current changes on the edited node. Preventable.
public OrgChartEventBuilder Save(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the Save client-side event. Triggered when the user attempts to save the current changes on the edited node. Preventable.
public OrgChartEventBuilder Save(string handler)
The name of the JavaScript function that will handle the Save event.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the Select client-side event. Triggered when the user attempts to select a new node or group of nodes (in grouped scenario). Preventable.
public OrgChartEventBuilder Select(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of OrgChartEventBuilder .
Defines the handler of the Select client-side event. Triggered when the user attempts to select a new node or group of nodes (in grouped scenario). Preventable.
public OrgChartEventBuilder Select(string handler)
The name of the JavaScript function that will handle the Select event.
Returns:Returns the current instance of OrgChartEventBuilder .