Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class TreeListEditableSettings<T> : JsonObject where T : class
Inheritance: objectJsonObjectTreeListEditableSettings<T>
Inherited Members
Constructors
public TreeListEditableSettings()
Properties
public Func<T> DefaultDataItem { get; set; }
public string EditorHtml { get; set; }
public bool HasHandlerEditor { get; set; }
The editing mode to use. The supported editing modes are "inline", "popup" and "incell".
public TreeListEditMode? Mode { get; set; }
public string ModeAsString { get; set; }
Enables the drag-and-drop UI of rows between parents.
public TreeListEditableMoveSettings Move { get; set; }
Configures the Window instance which is used when the TreeList edit mode is set to popup.
public Window PopUp { get; set; }
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 string Template { get; set; }
The handler for the Template
public string TemplateHandler { get; set; }
The id for the Template
public string TemplateId { get; set; }
public string TemplateName { get; set; }
Methods
public void InitializeEditor(ViewContext viewContext, ViewDataDictionary viewData)
protected override void Serialize(IDictionary<string, object> json)
Overrides: