ASP.NET Core - EJ2

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

    Show / Hide Table of Contents

    Class Gantt

    Inheritance
    System.Object
    EJTagHelper
    Gantt
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.Process(TagHelperContext, TagHelperOutput)
    EJTagHelper.RegisterScript()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.ViewContext
    EJTagHelper.For
    EJTagHelper.Id
    EJTagHelper.IsChild
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    Namespace: Syncfusion.EJ2.Gantt
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class Gantt : EJTagHelper

    Constructors

    Gantt()

    Declaration
    public Gantt()

    Properties

    ActionBegin

    Triggers when Gantt actions such as sorting, filtering, searching etc., starts.

    Declaration
    public string ActionBegin { get; set; }
    Property Value
    Type Description
    System.String

    ActionComplete

    Triggers when Gantt actions such as sorting, filtering, searching etc. are completed.

    Declaration
    public string ActionComplete { get; set; }
    Property Value
    Type Description
    System.String

    ActionFailure

    Triggers when actions are failed.

    Declaration
    public string ActionFailure { get; set; }
    Property Value
    Type Description
    System.String

    AddDialogFields

    Defines the tabs and fields to be included in the add dialog. If the value was empty, then it will be calculated from taskSettings and columns value. {% codeBlock src='gantt/addDialogFields/index.md' %}{% endcodeBlock %}

    Declaration
    public List<GanttAddDialogField> AddDialogFields { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<GanttAddDialogField>

    AllowExcelExport

    If allowExcelExport set to true, then it will allow the user to export Gantt to Excel and CSV file.

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

    AllowFiltering

    Enables or disables filtering support in Gantt.

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

    AllowKeyboard

    Enables or disables the key board interaction of Gantt.

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

    AllowPdfExport

    If allowPdfExport set to true, then it will allow the user to export Gantt to PDF file.

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

    AllowReordering

    If allowReordering is set to true, Gantt columns can be reordered. Reordering can be done by drag and drop of a particular column from one index to another index.

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

    AllowResizing

    If allowResizing is set to true, Gantt columns can be resized.

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

    AllowRowDragAndDrop

    If allowRowDragAndDrop set to true, then it will allow the user to perform drag and drop action in Gantt.

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

    AllowSelection

    If allowSelection is set to true, it allows selection of (highlight row) Gantt chart rows by clicking it.

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

    AllowSorting

    If allowSorting is set to true, it allows sorting of gantt chart tasks when column header is clicked.

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

    AllowUnscheduledTasks

    Enables or disables rendering of unscheduled tasks in Gantt.

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

    AutoFocusTasks

    Enables or disables the focusing the task bar on click action.

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

    BaselineColor

    Defines the baseline bar color.

    Declaration
    public string BaselineColor { get; set; }
    Property Value
    Type Description
    System.String

    BeforeExcelExport

    Triggers before Gantt data is exported to Excel file.

    Declaration
    public string BeforeExcelExport { get; set; }
    Property Value
    Type Description
    System.String

    BeforePdfExport

    Triggers before Gantt data is exported to PDF document.

    Declaration
    public string BeforePdfExport { get; set; }
    Property Value
    Type Description
    System.String

    BeforeTooltipRender

    Triggers before tooltip get rendered.

    Declaration
    public string BeforeTooltipRender { get; set; }
    Property Value
    Type Description
    System.String

    CellDeselected

    Triggers when a particular selected cell is deselected.

    Declaration
    public string CellDeselected { get; set; }
    Property Value
    Type Description
    System.String

    CellDeselecting

    Triggers before the selected cell is deselecting.

    Declaration
    public string CellDeselecting { get; set; }
    Property Value
    Type Description
    System.String

    CellEdit

    This will be triggered a cell get begins to edit.

    Declaration
    public string CellEdit { get; set; }
    Property Value
    Type Description
    System.String

    CellSelected

    Triggers after a cell is selected.

    Declaration
    public string CellSelected { get; set; }
    Property Value
    Type Description
    System.String

    CellSelecting

    Triggers before any cell selection occurs.

    Declaration
    public string CellSelecting { get; set; }
    Property Value
    Type Description
    System.String

    ClassName

    Declaration
    protected override string ClassName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.ClassName

    CollapseAllParentTasks

    If collapseAllParentTasks set to true, then root tasks are rendered with collapsed state.

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

    Collapsed

    This will be triggered after the row getting collapsed.

    Declaration
    public string Collapsed { get; set; }
    Property Value
    Type Description
    System.String

    Collapsing

    This will be triggered before the row getting collapsed.

    Declaration
    public string Collapsing { get; set; }
    Property Value
    Type Description
    System.String

    ColumnDrag

    Triggers when column header element is dragged (moved) continuously.

    Declaration
    public string ColumnDrag { get; set; }
    Property Value
    Type Description
    System.String

    ColumnDragStart

    Triggers when column header element drag (move) starts.

    Declaration
    public string ColumnDragStart { get; set; }
    Property Value
    Type Description
    System.String

    ColumnDrop

    Triggers when a column header element is dropped on the target column.

    Declaration
    public string ColumnDrop { get; set; }
    Property Value
    Type Description
    System.String

    ColumnMenuClick

    Triggers when click on column menu.

    Declaration
    public string ColumnMenuClick { get; set; }
    Property Value
    Type Description
    System.String

    ColumnMenuItems

    columnMenuItems defines both built-in and custom column menu items.

    The available built-in items are, ColumnChooser - To show/hide the TreeGrid columns. SortAscending - Sort the current column in ascending order. SortDescending - Sort the current column in descending order. Filter - Filter options will show based on filterSettings property.

    Declaration
    public object ColumnMenuItems { get; set; }
    Property Value
    Type Description
    System.Object

    ColumnMenuOpen

    Triggers before column menu opens.

    Declaration
    public string ColumnMenuOpen { get; set; }
    Property Value
    Type Description
    System.String

    Columns

    Defines column collection displayed in grid If the columns declaration was empty then columns are automatically populated from taskSettings value. {% codeBlock src='gantt/columns/index.md' %}{% endcodeBlock %}

    Declaration
    public object Columns { get; set; }
    Property Value
    Type Description
    System.Object

    ConnectorLineBackground

    Defines background color of dependency lines.

    Declaration
    public string ConnectorLineBackground { get; set; }
    Property Value
    Type Description
    System.String

    ConnectorLineWidth

    Defines width of dependency lines.

    Declaration
    public int ConnectorLineWidth { get; set; }
    Property Value
    Type Description
    System.Int32

    ContextMenuClick

    Triggers when click on context menu.

    Declaration
    public string ContextMenuClick { get; set; }
    Property Value
    Type Description
    System.String

    ContextMenuItems

    contextMenuItems defines both built-in and custom context menu items. {% codeBlock src='gantt/contextMenuItems/index.md' %}{% endcodeBlock %}

    Declaration
    public object ContextMenuItems { get; set; }
    Property Value
    Type Description
    System.Object

    ContextMenuOpen

    Triggers before context menu opens.

    Declaration
    public string ContextMenuOpen { get; set; }
    Property Value
    Type Description
    System.String

    Created

    Triggers when the component is created.

    Declaration
    public string Created { get; set; }
    Property Value
    Type Description
    System.String

    DataBound

    Triggers when data source is populated in the Grid.

    Declaration
    public string DataBound { get; set; }
    Property Value
    Type Description
    System.String

    DataSource

    It is used to render Gantt chart rows and tasks. dataSource value was defined as array of JavaScript objects or instances of DataManager. {% codeBlock src='gantt/dataSource/index.md' %}{% endcodeBlock %}

    Declaration
    public object DataSource { get; set; }
    Property Value
    Type Description
    System.Object

    DataStateChange

    Triggers when the Gantt actions such as Sorting, Editing etc., are done. In this event,the current view data and total record count should be assigned to the dataSource based on the action performed.

    Declaration
    public string DataStateChange { get; set; }
    Property Value
    Type Description
    System.String

    DateFormat

    Specifies the dateFormat for Gantt, given format is displayed in tooltip and Grid cells. By default, the format is based on the culture.

    Declaration
    public string DateFormat { get; set; }
    Property Value
    Type Description
    System.String

    DayWorkingTime

    Defines customized working time of project. {% codeBlock src='gantt/dayWorkingTime/index.md' %}{% endcodeBlock %}

    Declaration
    public List<GanttDayWorkingTime> DayWorkingTime { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<GanttDayWorkingTime>

    Destroyed

    Triggers when the component is destroyed.

    Declaration
    public string Destroyed { get; set; }
    Property Value
    Type Description
    System.String

    DisableHtmlEncode

    If disableHtmlEncode is set to true, it encodes the HTML of the header and content cells.

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

    DurationUnit

    durationUnit Specifies the duration unit for each tasks whether day or hour or minute. day: Sets the duration unit as day. hour: Sets the duration unit as hour. minute: Sets the duration unit as minute.

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

    EditDialogFields

    Defines the tabs and fields to be included in the edit dialog. If the value was empty, then it will be calculated from taskSettings and columns value. {% codeBlock src='gantt/editDialogFields/index.md' %}{% endcodeBlock %}

    Declaration
    public List<GanttEditDialogField> EditDialogFields { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<GanttEditDialogField>

    EditSettings

    Configures edit settings of Gantt. {% codeBlock src='gantt/editSettings/index.md' %}{% endcodeBlock %}

    Declaration
    public GanttEditSettings EditSettings { get; set; }
    Property Value
    Type Description
    GanttEditSettings

    EnableContextMenu

    If enableContextMenu is set to true, Enable context menu in Gantt.

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

    EnableCriticalPath

    It highlights the critical tasks in the Gantt Chart that affect the project’s end date.

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

    EnableImmutableMode

    If enableImmutableMode is set to true, the Gantt Chart will reuse old rows if it exists in the new result instead of full refresh while performing the Gantt actions.

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

    EnableMultiTaskbar

    It enables to render the child taskbar on parent row for resource view Gantt.

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

    EnablePersistence

    Enable or disable persisting component's state between page reloads.

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

    EnablePredecessorValidation

    If enablePredecessorValidation is set to true, it allows to validate the predecessor link.

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

    EnableRtl

    Enable or disable rendering component in right to left direction.

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

    EnableVirtualization

    If enableVirtualization set to true, then the Gantt will render only the rows visible within the view-port. and load subsequent rows on vertical scrolling. This helps to load large dataset in Gantt.

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

    EnableVirtualMaskRow

    Specifies whether to display shimmer effect during scrolling action in virtual scrolling feature. If disabled, spinner is shown instead of shimmer effect.

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

    EndEdit

    This will be triggered when a task get saved by cell edit.

    Declaration
    public string EndEdit { get; set; }
    Property Value
    Type Description
    System.String

    EventMarkers

    Defines events and status of project throughout the timeline. {% codeBlock src='gantt/eventMarkers/index.md' %}{% endcodeBlock %}

    Declaration
    public List<GanttEventMarker> EventMarkers { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<GanttEventMarker>

    ExcelExportComplete

    Triggers after Gantt data is exported to Excel file.

    Declaration
    public string ExcelExportComplete { get; set; }
    Property Value
    Type Description
    System.String

    ExcelHeaderQueryCellInfo

    Triggers before exporting each header cell to Excel file. You can also customize the Excel cells.

    Declaration
    public string ExcelHeaderQueryCellInfo { get; set; }
    Property Value
    Type Description
    System.String

    ExcelQueryCellInfo

    Triggers before exporting each cell to Excel file. You can also customize the Excel cells.

    Declaration
    public string ExcelQueryCellInfo { get; set; }
    Property Value
    Type Description
    System.String

    Expanded

    This will be triggered after the row getting expanded.

    Declaration
    public string Expanded { get; set; }
    Property Value
    Type Description
    System.String

    Expanding

    This will be triggered before the row getting expanded.

    Declaration
    public string Expanding { get; set; }
    Property Value
    Type Description
    System.String

    FilterSettings

    Configures the filter settings for Gantt. {% codeBlock src='gantt/filterSettings/index.md' %}{% endcodeBlock %}

    Declaration
    public GanttFilterSettings FilterSettings { get; set; }
    Property Value
    Type Description
    GanttFilterSettings

    GridLines

    Configures the grid lines in tree grid and gantt chart.

    Declaration
    public GridLine GridLines { get; set; }
    Property Value
    Type Description
    GridLine

    HeaderCellInfo

    This will be triggered before the header cell element is appended to the Grid element.

    Declaration
    public string HeaderCellInfo { get; set; }
    Property Value
    Type Description
    System.String

    Height

    Defines the height of the Gantt component container.

    Declaration
    public string Height { get; set; }
    Property Value
    Type Description
    System.String

    HighlightWeekends

    If highlightWeekends set to true, then all weekend days are highlighted in week - day timeline mode.

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

    Holidays

    Defines holidays presented in project timeline. {% codeBlock src='gantt/holidays/index.md' %}{% endcodeBlock %}

    Declaration
    public List<GanttHoliday> Holidays { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<GanttHoliday>

    HtmlAttributes

    Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.

    Declaration
    public object HtmlAttributes { get; set; }
    Property Value
    Type Description
    System.Object

    IncludeWeekend

    Defines weekend days are considered as working day or not.

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

    IsFor

    Declaration
    protected override bool IsFor { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    EJTagHelper.IsFor

    LabelSettings

    Defines the right, left and inner task labels in task bar. {% codeBlock src='gantt/labelSettings/index.md' %}{% endcodeBlock %}

    Declaration
    public GanttLabelSettings LabelSettings { get; set; }
    Property Value
    Type Description
    GanttLabelSettings

    Load

    Triggered before the Gantt control gets rendered.

    Declaration
    public string Load { get; set; }
    Property Value
    Type Description
    System.String

    LoadingIndicator

    Configures the loading indicator of the Gantt Chart. Specifies whether to display spinner or shimmer effect during the waiting time on any actions performed in Gantt Chart.

    Declaration
    public GanttLoadingIndicator LoadingIndicator { get; set; }
    Property Value
    Type Description
    GanttLoadingIndicator

    Locale

    Overrides the global culture and localization value for this component. Default global culture is 'en-US'.

    Declaration
    public string Locale { get; set; }
    Property Value
    Type Description
    System.String

    MilestoneTemplate

    The milestone template that renders customized milestone task from the given template.

    Declaration
    public string MilestoneTemplate { get; set; }
    Property Value
    Type Description
    System.String

    NameSpace

    Declaration
    protected override string NameSpace { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.NameSpace

    OnMouseMove

    This event will be triggered when mouse move on Gantt.

    Declaration
    public string OnMouseMove { get; set; }
    Property Value
    Type Description
    System.String

    OnTaskbarClick

    This event will be triggered when click on taskbar element.

    Declaration
    public string OnTaskbarClick { get; set; }
    Property Value
    Type Description
    System.String

    ParentTaskbarTemplate

    The parent task bar template that renders customized parent task bars from the given template.

    Declaration
    public string ParentTaskbarTemplate { get; set; }
    Property Value
    Type Description
    System.String

    PdfColumnHeaderQueryCellInfo

    Triggers before exporting each header cell to PDF document. You can also customize the PDF cells.

    Declaration
    public string PdfColumnHeaderQueryCellInfo { get; set; }
    Property Value
    Type Description
    System.String

    PdfExportComplete

    Triggers after TreeGrid data is exported to PDF document.

    Declaration
    public string PdfExportComplete { get; set; }
    Property Value
    Type Description
    System.String

    PdfQueryCellInfo

    Triggers before exporting each cell to PDF document. You can also customize the PDF cells.

    Declaration
    public string PdfQueryCellInfo { get; set; }
    Property Value
    Type Description
    System.String

    PdfQueryTaskbarInfo

    Triggers before exporting each taskbar to PDF document. You can also customize the taskbar.

    Declaration
    public string PdfQueryTaskbarInfo { get; set; }
    Property Value
    Type Description
    System.String

    PdfQueryTimelineCellInfo

    Triggers before exporting each cell to PDF document. You can also customize the PDF cells.

    Declaration
    public string PdfQueryTimelineCellInfo { get; set; }
    Property Value
    Type Description
    System.String

    ProjectEndDate

    Defines end date of the project, if projectEndDate value not set then it will be calculated from data source.

    Declaration
    public string ProjectEndDate { get; set; }
    Property Value
    Type Description
    System.String

    ProjectStartDate

    Defines start date of the project, if projectStartDate value not set then it will be calculated from data source.

    Declaration
    public string ProjectStartDate { get; set; }
    Property Value
    Type Description
    System.String

    Query

    Defines the external Query that will be executed along with data processing.

    Declaration
    public string Query { get; set; }
    Property Value
    Type Description
    System.String

    QueryCellInfo

    This will be triggered before the header cell element is appended to the Grid element.

    Declaration
    public string QueryCellInfo { get; set; }
    Property Value
    Type Description
    System.String

    QueryTaskbarInfo

    This will be triggered after the taskbar element is appended to the Gantt element.

    Declaration
    public string QueryTaskbarInfo { get; set; }
    Property Value
    Type Description
    System.String

    ReadOnly

    If readOnly is set to true, Gantt cannot be edited.

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

    RecordDoubleClick

    This event will be triggered when double click on record.

    Declaration
    public string RecordDoubleClick { get; set; }
    Property Value
    Type Description
    System.String

    RenderBaseline

    If renderBaseline is set to true, then baselines are rendered for tasks.

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

    ResizeStart

    Triggers when column resize starts.

    Declaration
    public string ResizeStart { get; set; }
    Property Value
    Type Description
    System.String

    ResizeStop

    Triggers when column resize ends.

    Declaration
    public string ResizeStop { get; set; }
    Property Value
    Type Description
    System.String

    Resizing

    Triggers on column resizing.

    Declaration
    public string Resizing { get; set; }
    Property Value
    Type Description
    System.String

    ResourceFields

    Defines mapping properties to find resource values such as id, name, unit and group from resource collection.

    Declaration
    public GanttResourceFields ResourceFields { get; set; }
    Property Value
    Type Description
    GanttResourceFields

    ResourceIDMapping

    Defines mapping property to get resource id value from resource collection.

    Declaration
    public string ResourceIDMapping { get; set; }
    Property Value
    Type Description
    System.String

    ResourceNameMapping

    Defines mapping property to get resource name value from resource collection.

    Declaration
    public string ResourceNameMapping { get; set; }
    Property Value
    Type Description
    System.String

    Resources

    Defines resource collection assigned for projects.

    Declaration
    public object Resources { get; set; }
    Property Value
    Type Description
    System.Object

    RowDataBound

    This will be triggered before the row element is appended to the Grid element.

    Declaration
    public string RowDataBound { get; set; }
    Property Value
    Type Description
    System.String

    RowDeselected

    Triggers when a selected row is deselected.

    Declaration
    public string RowDeselected { get; set; }
    Property Value
    Type Description
    System.String

    RowDeselecting

    Triggers before deselecting the selected row.

    Declaration
    public string RowDeselecting { get; set; }
    Property Value
    Type Description
    System.String

    RowDrag

    Triggers when row elements are dragged (moved) continuously.

    Declaration
    public string RowDrag { get; set; }
    Property Value
    Type Description
    System.String

    RowDragStart

    Triggers when row element’s drag(move) starts.

    Declaration
    public string RowDragStart { get; set; }
    Property Value
    Type Description
    System.String

    RowDragStartHelper

    Triggers when row element’s before drag(move).

    Declaration
    public string RowDragStartHelper { get; set; }
    Property Value
    Type Description
    System.String

    RowDrop

    Triggers when row elements are dropped on the target row.

    Declaration
    public string RowDrop { get; set; }
    Property Value
    Type Description
    System.String

    RowHeight

    Defines height value for grid rows and chart rows in Gantt.

    Declaration
    public int RowHeight { get; set; }
    Property Value
    Type Description
    System.Int32

    RowSelected

    Triggers after row selection occurs.

    Declaration
    public string RowSelected { get; set; }
    Property Value
    Type Description
    System.String

    RowSelecting

    Triggers before row selection occurs.

    Declaration
    public string RowSelecting { get; set; }
    Property Value
    Type Description
    System.String

    SearchSettings

    Configures the search settings for Gantt. {% codeBlock src='gantt/searchSettings/index.md' %}{% endcodeBlock %}

    Declaration
    public GanttSearchSettings SearchSettings { get; set; }
    Property Value
    Type Description
    GanttSearchSettings

    SegmentData

    Defines segment collection assigned for tasks.

    Declaration
    public object SegmentData { get; set; }
    Property Value
    Type Description
    System.Object

    SelectedRowIndex

    The selectedRowIndex allows you to select a row at initial rendering. You can also get the currently selected row index.

    Declaration
    public int SelectedRowIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    SelectionSettings

    Configures the selection settings. {% codeBlock src='gantt/selectionSettings/index.md' %}{% endcodeBlock %}

    Declaration
    public GanttSelectionSettings SelectionSettings { get; set; }
    Property Value
    Type Description
    GanttSelectionSettings

    ShowColumnMenu

    If showColumnMenu set to true, then it will enable the column menu options in each columns.

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

    ShowInlineNotes

    To show notes column cell values inside the cell or in tooltip.

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

    ShowOverAllocation

    It enables to render the overallocation container for resource view Gantt.

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

    SortSettings

    Configures the sort settings of the Gantt. {% codeBlock src='gantt/sortSettings/index.md' %}{% endcodeBlock %}

    Declaration
    public GanttSortSettings SortSettings { get; set; }
    Property Value
    Type Description
    GanttSortSettings

    SplitterResized

    Triggers when splitter resizing action completed.

    Declaration
    public string SplitterResized { get; set; }
    Property Value
    Type Description
    System.String

    SplitterResizeStart

    Triggers when splitter resizing starts.

    Declaration
    public string SplitterResizeStart { get; set; }
    Property Value
    Type Description
    System.String

    SplitterResizing

    Triggers when splitter bar was dragging.

    Declaration
    public string SplitterResizing { get; set; }
    Property Value
    Type Description
    System.String

    SplitterSettings

    Configures the splitter settings for Gantt. {% codeBlock src='gantt/splitterSettings/index.md' %}{% endcodeBlock %}

    Declaration
    public GanttSplitterSettings SplitterSettings { get; set; }
    Property Value
    Type Description
    GanttSplitterSettings

    TagName

    Declaration
    protected override string TagName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.TagName

    TaskbarEdited

    This will be triggered taskbar was dragged and dropped on new position.

    Declaration
    public string TaskbarEdited { get; set; }
    Property Value
    Type Description
    System.String

    TaskbarEditing

    This event will be triggered when taskbar was in dragging state.

    Declaration
    public string TaskbarEditing { get; set; }
    Property Value
    Type Description
    System.String

    TaskbarHeight

    Defines height of taskbar element in Gantt.

    Declaration
    public int? TaskbarHeight { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    TaskbarTemplate

    The task bar template that renders customized child task bars from the given template.

    Declaration
    public string TaskbarTemplate { get; set; }
    Property Value
    Type Description
    System.String

    TaskFields

    Defines mapping properties to find task values such as id, start date, end date, duration and progress values from data source. {% codeBlock src='gantt/taskFields/index.md' %}{% endcodeBlock %}

    Declaration
    public GanttTaskFields TaskFields { get; set; }
    Property Value
    Type Description
    GanttTaskFields

    TaskMode

    Specifies task schedule mode for a project.

    Declaration
    public ScheduleMode TaskMode { get; set; }
    Property Value
    Type Description
    ScheduleMode

    TaskType

    taskType Specifies the task type for task whether fixedUnit or fixedWork or fixedDuration. fixedUnit: Sets the task type as fixedUnit. fixedWork: Sets the task type as fixedWork. fixedDuration: Sets the task type as fixedDuration.

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

    TimelineSettings

    Configures timeline settings of Gantt. Defines default timeline modes or customized top tier mode and bottom tier mode or single tier only. {% codeBlock src='gantt/timelineSettings/index.md' %}{% endcodeBlock %}

    Declaration
    public GanttTimelineSettings TimelineSettings { get; set; }
    Property Value
    Type Description
    GanttTimelineSettings

    Timezone

    By default, task schedule dates are calculated with system time zone.If Gantt chart assigned with specific time zone, then schedule dates are calculated as given time zone date value.

    Declaration
    public string Timezone { get; set; }
    Property Value
    Type Description
    System.String

    Toolbar

    toolbar defines the toolbar items of the Gantt. It contains built-in and custom toolbar items If an array value is assigned, it is considered as the list of built-in and custom toolbar items in the Gantt's toolbar.

    The available built-in toolbar items are: Add: Adds a new record. Edit: Edits the selected task. Update: Updates the edited task. Delete: Deletes the selected task. Cancel: Cancels the edit state. Search: Searches tasks by the given key. ExpandAll: Expands all the task of Gantt. CollapseAll: Collapses all the task of Gantt. PrevTimeSpan: Extends timeline with one unit before the timeline start date. NextTimeSpan: Extends timeline with one unit after the timeline finish date. ZoomIn: ZoomIn the Gantt control. ZoomOut: ZoomOut the Gantt control. ZoomToFit: Display the all tasks within the viewable Gantt chart. ExcelExport: To export in Excel format. CsvExport : To export in CSV format. Indent: To indent a task to one level. Outdent: To outdent a task from one level.

    Declaration
    public object Toolbar { get; set; }
    Property Value
    Type Description
    System.Object

    ToolbarClick

    Triggers when toolbar item was clicked.

    Declaration
    public string ToolbarClick { get; set; }
    Property Value
    Type Description
    System.String

    TooltipSettings

    Enables or disables default tooltip of Gantt element and defines customized tooltip for Gantt elements. {% codeBlock src='gantt/tooltipSettings/index.md' %}{% endcodeBlock %}

    Declaration
    public GanttTooltipSettings TooltipSettings { get; set; }
    Property Value
    Type Description
    GanttTooltipSettings

    TreeColumnIndex

    To define expander column index in Grid.

    Declaration
    public int TreeColumnIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    ValidateManualTasksOnLinking

    If validateManualTasksOnLinking is set to true, it enables date validation while connecting manually scheduled tasks with predecessor

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

    ViewType

    Defines the view type of the Gantt.

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

    Width

    Defines the width of the Gantt component container.

    Declaration
    public string Width { get; set; }
    Property Value
    Type Description
    System.String

    WorkUnit

    workUnit Specifies the work unit for each tasks whether day or hour or minute. day: Sets the work unit as day. hour: Sets the work unit as hour. minute: Sets the work unit as minute.

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

    WorkWeek

    Defines workweek of project.

    Declaration
    public string[] WorkWeek { get; set; }
    Property Value
    Type Description
    System.String[]
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved