ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeGridEditSettings

    Show / Hide Table of Contents

    Class TreeGridEditSettings

    Inheritance
    System.Object
    TagHelper
    EJTagHelper
    TreeGridEditSettings
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsChild
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.EJ2.TreeGrid
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class TreeGridEditSettings : EJTagHelper

    Constructors

    TreeGridEditSettings()

    Declaration
    public TreeGridEditSettings()

    Properties

    AllowAdding

    If allowAdding is set to true, new records can be added to the TreeGrid.

    Declaration
    [HtmlAttributeName("allowAdding")]
    public bool AllowAdding { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    AllowDeleting

    If allowDeleting is set to true, existing record can be deleted from the TreeGrid.

    Declaration
    [HtmlAttributeName("allowDeleting")]
    public bool AllowDeleting { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    AllowEditing

    If allowEditing is set to true, values can be updated in the existing record.

    Declaration
    [HtmlAttributeName("allowEditing")]
    public bool AllowEditing { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    AllowEditOnDblClick

    If allowEditOnDblClick is set to false, TreeGrid will not allow editing of a record on double click.

    Declaration
    [HtmlAttributeName("allowEditOnDblClick")]
    public bool AllowEditOnDblClick { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is true

    AllowNextRowEdit

    If allowNextRowEdit is set as true, editing is continued to next row with keyboard navigation.

    Declaration
    [HtmlAttributeName("allowNextRowEdit")]
    public bool AllowNextRowEdit { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type Description
    MvcTemplate<System.Object>

    Dialog

    Defines the dialog params to edit.

    Declaration
    [HtmlAttributeName("dialog")]
    public object Dialog { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Mode

    Defines the mode to edit. The available editing modes are:

    Declaration
    [HtmlAttributeName("mode")]
    public EditMode Mode { get; set; }
    Property Value
    Type Description
    EditMode

    The default value is EditMode.Cell

    NewRowPosition

    Defines the row position for new records. The available row positions are:

    {% codeBlock src='treegrid/newRowPosition/index.md' %}{% endcodeBlock %}

    Declaration
    [HtmlAttributeName("newRowPosition")]
    public RowPosition NewRowPosition { get; set; }
    Property Value
    Type Description
    RowPosition

    The default value is RowPosition.Top

    ShowConfirmDialog

    if showConfirmDialog is set to false, confirm dialog does not show when batch changes are saved or discarded.

    Declaration
    [HtmlAttributeName("showConfirmDialog")]
    public bool ShowConfirmDialog { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is true

    ShowDeleteConfirmDialog

    If showDeleteConfirmDialog is set to true, confirm dialog will show delete action. You can also cancel delete command.

    Declaration
    [HtmlAttributeName("showDeleteConfirmDialog")]
    public bool ShowDeleteConfirmDialog { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Template

    Defines the custom edit elements for the dialog template.

    Declaration
    [HtmlAttributeName("template")]
    public string Template { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved