ASP.NET Core - EJ2

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

    Show / Hide Table of Contents

    Class GanttSelectionSettingsBuilder

    Inheritance
    System.Object
    ControlBuilder
    GanttSelectionSettingsBuilder
    Inherited Members
    ControlBuilder.Output
    ControlBuilder.Context
    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 Description
    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 Description
    GanttSelectionSettingsBuilder

    Mode(SelectionMode)

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

    Declaration
    public GanttSelectionSettingsBuilder Mode(SelectionMode value)
    Parameters
    Type Name Description
    SelectionMode value
    Returns
    Type Description
    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 Description
    GanttSelectionSettingsBuilder

    Type(SelectionType)

    Defines options for selection type. They are Single: Allows selection of only a row or a cell. Multiple: Allows selection of multiple rows or cells.

    Declaration
    public GanttSelectionSettingsBuilder Type(SelectionType value)
    Parameters
    Type Name Description
    SelectionType value
    Returns
    Type Description
    GanttSelectionSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved