menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GanttSelectionSettingsBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GanttSelectionSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    GanttSelectionSettingsBuilder
    Namespace: Syncfusion.EJ2.Gantt
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class GanttSelectionSettingsBuilder : ControlBuilder

    Constructors

    GanttSelectionSettingsBuilder()

    Declaration
    public GanttSelectionSettingsBuilder()

    GanttSelectionSettingsBuilder(GanttSelectionSettings)

    Declaration
    public GanttSelectionSettingsBuilder(GanttSelectionSettings model)
    Parameters
    Type Name Description
    GanttSelectionSettings model

    Methods

    CellSelectionMode(CellSelectionMode)

    To define selection mode of cell.

    Declaration
    public GanttSelectionSettingsBuilder CellSelectionMode(CellSelectionMode value)
    Parameters
    Type Name Description
    CellSelectionMode value
    Returns
    Type
    GanttSelectionSettingsBuilder

    EnableToggle(Boolean)

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

    Declaration
    public GanttSelectionSettingsBuilder EnableToggle(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    GanttSelectionSettingsBuilder

    Mode(SelectionMode)

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

    Declaration
    public GanttSelectionSettingsBuilder Mode(SelectionMode value)
    Parameters
    Type Name Description
    SelectionMode value
    Returns
    Type
    GanttSelectionSettingsBuilder

    PersistSelection(Boolean)

    If 'persistSelection' set to true, then the Gantt selection is persisted on all operations.

    Declaration
    public GanttSelectionSettingsBuilder PersistSelection(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    GanttSelectionSettingsBuilder

    Type(SelectionType)

    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 GanttSelectionSettingsBuilder Type(SelectionType value)
    Parameters
    Type Name Description
    SelectionType value
    Returns
    Type
    GanttSelectionSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved