Defines the fluent API for configuring the OrgChartEditableSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class OrgChartEditableSettingsBuilder<T> where T : class
Inheritance: objectOrgChartEditableSettingsBuilder<T>
Inherited Members
Constructors
Initialize the OrgChartEditableSettingsBuilder
public OrgChartEditableSettingsBuilder(OrgChartEditableSettings<T> settings, ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
The OrgChartEditableSettings
viewContextViewContextinitializerIJavaScriptInitializerurlGeneratorIUrlGeneratorMethods
Allows the user to create new items as children of existing ones. If set to false, creating new items will not be available in the item edit pop-up menu.
public OrgChartEditableSettingsBuilder<T> Create(bool value)
The value that configures the create.
Returns:Allows the user to delete items. If set to false, delete item will not be available in the item edit pop-up menu.
public OrgChartEditableSettingsBuilder<T> Destroy(bool value)
The value that configures the destroy.
Returns:Allows the user to edit the title, name, and avatar of the item. If set to false, editing those fields will not be available in the pop-up editor of the widget.
public OrgChartEditableSettingsBuilder<T> Fields(bool value)
The value that configures the form.
Returns:Allows the user to edit the title, name, and avatar of the item. If set to false, editing those fields will not be available in the pop-up editor of the widget.
public OrgChartEditableSettingsBuilder<T> Form(Action<FormBuilder<T>> configurator)
Allows editing the structure (id/parentId relation). If the parentId has also configuration in the form configuration object, the editable.parent value will be taken into account. If set to false, editing the id/parentId relation will not be available.
public OrgChartEditableSettingsBuilder<T> Parent(bool value)
The value that configures the parent.
Returns: