Defines the fluent API for configuring the TreeListEditableSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class TreeListEditableSettingsBuilder<T> where T : class
Inheritance: objectTreeListEditableSettingsBuilder<T>
Inherited Members
Constructors
public TreeListEditableSettingsBuilder(TreeListEditableSettings<T> settings)
Methods
The editing mode to use. The supported editing modes are "inline", "popup" and "incell".
public TreeListEditableSettingsBuilder<T> Mode(string value)
The value that configures the mode.
Returns:The editing mode to use. The supported editing modes are "inline", "popup" and "incell".
public TreeListEditableSettingsBuilder<T> Mode(TreeListEditMode value)
The value that configures the mode.
Returns:Enables the drag-and-drop UI of rows between parents.
Enables the drag-and-drop UI of rows between parents.
public TreeListEditableSettingsBuilder<T> Move(Action<TreeListEditableMoveSettingsBuilder<T>> configurator)
The action that configures the move.
Returns:Enables the drag-and-drop UI of rows between parents.
public TreeListEditableSettingsBuilder<T> Move(bool enabled)
Enables or disables the move option.
Returns:The template which renders the popup editor.The template has to contain elements whose name HTML attribute is set to the name of the editable field. In this way, the TreeList recognizes the field to which it has to bind the each editor. Alternatively, use MVVM bindings for binding HTML elements to data item fields.
public TreeListEditableSettingsBuilder<T> Template(string value)
The value that configures the template.
Returns:The template which renders the popup editor.The template has to contain elements whose name HTML attribute is set to the name of the editable field. In this way, the TreeList recognizes the field to which it has to bind the each editor. Alternatively, use MVVM bindings for binding HTML elements to data item fields.
public TreeListEditableSettingsBuilder<T> Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:Specify which editor template should be used.
public TreeListEditableSettingsBuilder<T> TemplateComponentName(string templateName)
The editor template name
Returns:The template which renders the popup editor.The template has to contain elements whose name HTML attribute is set to the name of the editable field. In this way, the TreeList recognizes the field to which it has to bind the each editor. Alternatively, use MVVM bindings for binding HTML elements to data item fields.
public TreeListEditableSettingsBuilder<T> TemplateHandler(string value)
The value that configures the template.
Returns:The template which renders the popup editor.The template has to contain elements whose name HTML attribute is set to the name of the editable field. In this way, the TreeList recognizes the field to which it has to bind the each editor. Alternatively, use MVVM bindings for binding HTML elements to data item fields.
public TreeListEditableSettingsBuilder<T> TemplateId(string value)
The value that configures the template.
Returns:The EditorTemplate which to be rendered as editor.
public TreeListEditableSettingsBuilder<T> TemplateName(string name)
The name of the EditorTemplate
Returns:The template which renders the popup editor.The template has to contain elements whose name HTML attribute is set to the name of the editable field. In this way, the TreeList recognizes the field to which it has to bind the each editor. Alternatively, use MVVM bindings for binding HTML elements to data item fields.
public TreeListEditableSettingsBuilder<T> TemplateView(MvcHtmlString value)
The value that configures the template.
Returns:Specifies the window options for the popup editing of the component.
public TreeListEditableSettingsBuilder<T> Window(Action<WindowBuilder> configurator)
The configurator
Returns: