New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class TreeListEditableSettings<T> : JsonObject where T : class

Inheritance: objectJsonObjectTreeListEditableSettings<T>

Inherited Members JsonObject.ToJson()object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public TreeListEditableSettings()

Properties

C#
public Func<T> DefaultDataItem { get; set; }
C#
public string EditorHtml { get; set; }
C#
public bool Enabled { get; set; }
C#
public bool HasHandlerEditor { get; set; }

The editing mode to use. The supported editing modes are "inline", "popup" and "incell".

C#
public TreeListEditMode? Mode { get; set; }
C#
public string ModeAsString { get; set; }

Enables the drag-and-drop UI of rows between parents.

C#
public TreeListEditableMoveSettings Move { get; set; }

Configures the Window instance which is used when the TreeList edit mode is set to popup.

C#
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.

C#
public string Template { get; set; }

The handler for the Template

C#
public string TemplateHandler { get; set; }

The id for the Template

C#
public string TemplateId { get; set; }
C#
public string TemplateName { get; set; }
C#
public TreeList<T> TreeList { get; set; }

Methods

C#
public void InitializeEditor(ViewContext viewContext, ViewDataDictionary viewData)
Parameters:viewContextViewContextviewDataViewDataDictionary
C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)