Defines the fluent API for configuring OrgChartEditableSettings
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
OrgChartEditableSettingsBuilder method.
public OrgChartEditableSettingsBuilder(OrgChartEditableSettings<T> container)
Properties
Gets or sets the Container.
protected OrgChartEditableSettings<T> Container { get; }
Methods
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 for Create
Returns:OrgChartEditableSettingsBuilder<T>
Returns the current OrgChartEditableSettingsBuilder<T> instance.
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 for Destroy
Returns:OrgChartEditableSettingsBuilder<T>
Returns the current OrgChartEditableSettingsBuilder<T> instance.
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 for Fields
Returns:OrgChartEditableSettingsBuilder<T>
Returns the current OrgChartEditableSettingsBuilder<T> instance.
Configures the Form that will be used for editing OrgChart items.
public OrgChartEditableSettingsBuilder<T> Form(Action<FormBuilder<T>> configurator)
The action that configures the Form.
Returns:OrgChartEditableSettingsBuilder<T>
Returns the current OrgChartEditableSettingsBuilder<T> instance.
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 for Parent
Returns:OrgChartEditableSettingsBuilder<T>
Returns the current OrgChartEditableSettingsBuilder<T> instance.