ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class TreeGridSelectionSettings

    Inheritance
    System.Object
    TagHelper
    EJTagHelper
    TreeGridSelectionSettings
    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 TreeGridSelectionSettings : EJTagHelper

    Constructors

    TreeGridSelectionSettings()

    Declaration
    public TreeGridSelectionSettings()

    Properties

    CellSelectionMode

    The cell selection modes are flow and box. It requires the selection mode to be either cell or both.

    Declaration
    [HtmlAttributeName("cellSelectionMode")]
    public CellSelectionMode CellSelectionMode { get; set; }
    Property Value
    Type Description
    CellSelectionMode

    The default value is Syncfusion.EJ2.Grids.CellSelectionMode.Flow

    CheckboxMode

    Defines options for checkbox selection Mode. They are

    rows can be selected by using CTRL or SHIFT key.

    Declaration
    [HtmlAttributeName("checkboxMode")]
    public CheckboxSelectionType CheckboxMode { get; set; }
    Property Value
    Type Description
    CheckboxSelectionType

    The default value is Syncfusion.EJ2.Grids.CheckboxSelectionType.Default

    CheckboxOnly

    If 'checkboxOnly' set to true, then the TreeGrid selection is allowed only through checkbox.

    Declaration
    [HtmlAttributeName("checkboxOnly")]
    public bool CheckboxOnly { 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>

    EnableToggle

    If ‘enableToggle’ set to true, then the user can able to perform toggle for the selected row.

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

    The default value is true

    Mode

    TreeGrid supports row, cell, and both (row and cell) selection mode.

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

    The default value is Syncfusion.EJ2.Grids.SelectionMode.Row

    PersistSelection

    If 'persistSelection' set to true, then the TreeGrid selection is persisted on all operations. For persisting selection in the TreeGrid, any one of the column should be enabled as a primary key.

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

    The default value is false

    Type

    Defines options for selection type. They are

    Declaration
    [HtmlAttributeName("type")]
    public SelectionType Type { get; set; }
    Property Value
    Type Description
    SelectionType

    The default value is Syncfusion.EJ2.Grids.SelectionType.Single

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