alexa
menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class GanttSelectionSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    GanttSelectionSettings
    Namespace: Syncfusion.EJ2.Gantt
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class GanttSelectionSettings : EJTagHelper

    Constructors

    GanttSelectionSettings()

    Declaration
    public GanttSelectionSettings()

    Properties

    CellSelectionMode

    The cell selection modes are flow and box. It requires the selection mode to be either cell or both. Flow: Selects the range of cells between start index and end index that also includes the other cells of the selected rows. Box: Selects the range of cells within the start and end column indexes that includes in between cells of rows within the range. BoxWithBorder: Selects the range of cells as like Box mode with borders.

    Declaration
    public CellSelectionMode CellSelectionMode { get; set; }
    Property Value
    Type Description
    CellSelectionMode

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

    ContentTemplate

    To get or set value for ContentTemplate.

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

    EnableToggle

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

    Declaration
    public bool EnableToggle { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Mode

    Defines the selection mode for the Gantt. It supports row, cell, and both (row and cell) selection modes.

    Declaration
    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 Gantt selection is persisted on all operations.

    Declaration
    public bool PersistSelection { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Type

    Defines the selection type for rows or cells. Single: Allows only a single row or cell to be selected at a time. Multiple: Allows multiple rows or cells to be selected simultaneously.

    Declaration
    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 - 2025 Syncfusion Inc. All Rights Reserved