ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class GanttBuilder

    Inheritance
    System.Object
    ControlBuilder
    GanttBuilder
    Inherited Members
    ControlBuilder.Context
    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.Gantt
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class GanttBuilder : ControlBuilder

    Constructors

    GanttBuilder()

    Declaration
    public GanttBuilder()

    GanttBuilder(Gantt)

    Declaration
    public GanttBuilder(Gantt model)
    Parameters
    Type Name Description
    Gantt model

    Fields

    model

    Declaration
    public Gantt model
    Field Value
    Type Description
    Gantt

    Properties

    HtmlAttr

    Declaration
    public IDictionary<string, object> HtmlAttr { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.Object>

    ID

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

    Output

    Declaration
    public override TextWriter Output { get; set; }
    Property Value
    Type Description
    System.IO.TextWriter
    Overrides
    ControlBuilder.Output

    Methods

    ActionBegin(String)

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

    Declaration
    public GanttBuilder ActionBegin(string actionBegin)
    Parameters
    Type Name Description
    System.String actionBegin
    Returns
    Type Description
    GanttBuilder

    ActionComplete(String)

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

    Declaration
    public GanttBuilder ActionComplete(string actionComplete)
    Parameters
    Type Name Description
    System.String actionComplete
    Returns
    Type Description
    GanttBuilder

    ActionFailure(String)

    Triggers when actions are failed.

    Declaration
    public GanttBuilder ActionFailure(string actionFailure)
    Parameters
    Type Name Description
    System.String actionFailure
    Returns
    Type Description
    GanttBuilder

    AddDialogFields(Action<GanttAddDialogFieldBuilder>)

    Declaration
    public GanttBuilder AddDialogFields(Action<GanttAddDialogFieldBuilder> addDialogFields)
    Parameters
    Type Name Description
    System.Action<GanttAddDialogFieldBuilder> addDialogFields
    Returns
    Type Description
    GanttBuilder

    AddDialogFields(List<GanttAddDialogField>)

    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 GanttBuilder AddDialogFields(List<GanttAddDialogField> addDialogFields)
    Parameters
    Type Name Description
    System.Collections.Generic.List<GanttAddDialogField> addDialogFields
    Returns
    Type Description
    GanttBuilder

    AllowExcelExport(Boolean)

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

    Declaration
    public GanttBuilder AllowExcelExport(bool allowExcelExport = true)
    Parameters
    Type Name Description
    System.Boolean allowExcelExport
    Returns
    Type Description
    GanttBuilder

    AllowFiltering(Boolean)

    Enables or disables filtering support in Gantt.

    Declaration
    public GanttBuilder AllowFiltering(bool allowFiltering = true)
    Parameters
    Type Name Description
    System.Boolean allowFiltering
    Returns
    Type Description
    GanttBuilder

    AllowKeyboard(Boolean)

    Enables or disables the key board interaction of Gantt.

    Declaration
    public GanttBuilder AllowKeyboard(bool allowKeyboard = true)
    Parameters
    Type Name Description
    System.Boolean allowKeyboard
    Returns
    Type Description
    GanttBuilder

    AllowParentDependency(Boolean)

    Specifies whether to allow dependency connection support for parent records.

    Declaration
    public GanttBuilder AllowParentDependency(bool allowParentDependency = true)
    Parameters
    Type Name Description
    System.Boolean allowParentDependency
    Returns
    Type Description
    GanttBuilder

    AllowPdfExport(Boolean)

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

    Declaration
    public GanttBuilder AllowPdfExport(bool allowPdfExport = true)
    Parameters
    Type Name Description
    System.Boolean allowPdfExport
    Returns
    Type Description
    GanttBuilder

    AllowReordering(Boolean)

    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 GanttBuilder AllowReordering(bool allowReordering = true)
    Parameters
    Type Name Description
    System.Boolean allowReordering
    Returns
    Type Description
    GanttBuilder

    AllowResizing(Boolean)

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

    Declaration
    public GanttBuilder AllowResizing(bool allowResizing = true)
    Parameters
    Type Name Description
    System.Boolean allowResizing
    Returns
    Type Description
    GanttBuilder

    AllowRowDragAndDrop(Boolean)

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

    Declaration
    public GanttBuilder AllowRowDragAndDrop(bool allowRowDragAndDrop = true)
    Parameters
    Type Name Description
    System.Boolean allowRowDragAndDrop
    Returns
    Type Description
    GanttBuilder

    AllowSelection(Boolean)

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

    Declaration
    public GanttBuilder AllowSelection(bool allowSelection = true)
    Parameters
    Type Name Description
    System.Boolean allowSelection
    Returns
    Type Description
    GanttBuilder

    AllowSorting(Boolean)

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

    Declaration
    public GanttBuilder AllowSorting(bool allowSorting = true)
    Parameters
    Type Name Description
    System.Boolean allowSorting
    Returns
    Type Description
    GanttBuilder

    AllowTaskbarDragAndDrop(Boolean)

    Defines whether to enable or disable taskbar drag and drop.

    Declaration
    public GanttBuilder AllowTaskbarDragAndDrop(bool allowTaskbarDragAndDrop = true)
    Parameters
    Type Name Description
    System.Boolean allowTaskbarDragAndDrop
    Returns
    Type Description
    GanttBuilder

    AllowTaskbarOverlap(Boolean)

    Defines whether taskbar to get overlapped or not.

    Declaration
    public GanttBuilder AllowTaskbarOverlap(bool allowTaskbarOverlap = true)
    Parameters
    Type Name Description
    System.Boolean allowTaskbarOverlap
    Returns
    Type Description
    GanttBuilder

    AllowUnscheduledTasks(Boolean)

    Enables or disables rendering of unscheduled tasks in Gantt.

    Declaration
    public GanttBuilder AllowUnscheduledTasks(bool allowUnscheduledTasks = true)
    Parameters
    Type Name Description
    System.Boolean allowUnscheduledTasks
    Returns
    Type Description
    GanttBuilder

    AutoCalculateDateScheduling(Boolean)

    Specifies whether to auto calculate start and end-date based on various factors such as working time, holidays, weekends, and predecessors.

    Declaration
    public GanttBuilder AutoCalculateDateScheduling(bool autoCalculateDateScheduling = true)
    Parameters
    Type Name Description
    System.Boolean autoCalculateDateScheduling
    Returns
    Type Description
    GanttBuilder

    AutoFocusTasks(Boolean)

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

    Declaration
    public GanttBuilder AutoFocusTasks(bool autoFocusTasks = true)
    Parameters
    Type Name Description
    System.Boolean autoFocusTasks
    Returns
    Type Description
    GanttBuilder

    BaselineColor(String)

    Defines the baseline bar color.

    Declaration
    public GanttBuilder BaselineColor(string baselineColor)
    Parameters
    Type Name Description
    System.String baselineColor
    Returns
    Type Description
    GanttBuilder

    BeforeExcelExport(String)

    Triggers before Gantt data is exported to Excel file.

    Declaration
    public GanttBuilder BeforeExcelExport(string beforeExcelExport)
    Parameters
    Type Name Description
    System.String beforeExcelExport
    Returns
    Type Description
    GanttBuilder

    BeforePdfExport(String)

    Triggers before Gantt data is exported to PDF document.

    Declaration
    public GanttBuilder BeforePdfExport(string beforePdfExport)
    Parameters
    Type Name Description
    System.String beforePdfExport
    Returns
    Type Description
    GanttBuilder

    BeforeTooltipRender(String)

    Triggers before tooltip get rendered.

    Declaration
    public GanttBuilder BeforeTooltipRender(string beforeTooltipRender)
    Parameters
    Type Name Description
    System.String beforeTooltipRender
    Returns
    Type Description
    GanttBuilder

    CellDeselected(String)

    Triggers when a particular selected cell is deselected.

    Declaration
    public GanttBuilder CellDeselected(string cellDeselected)
    Parameters
    Type Name Description
    System.String cellDeselected
    Returns
    Type Description
    GanttBuilder

    CellDeselecting(String)

    Triggers before the selected cell is deselecting.

    Declaration
    public GanttBuilder CellDeselecting(string cellDeselecting)
    Parameters
    Type Name Description
    System.String cellDeselecting
    Returns
    Type Description
    GanttBuilder

    CellEdit(String)

    This will be triggered a cell get begins to edit.

    Declaration
    public GanttBuilder CellEdit(string cellEdit)
    Parameters
    Type Name Description
    System.String cellEdit
    Returns
    Type Description
    GanttBuilder

    CellSelected(String)

    Triggers after a cell is selected.

    Declaration
    public GanttBuilder CellSelected(string cellSelected)
    Parameters
    Type Name Description
    System.String cellSelected
    Returns
    Type Description
    GanttBuilder

    CellSelecting(String)

    Triggers before any cell selection occurs.

    Declaration
    public GanttBuilder CellSelecting(string cellSelecting)
    Parameters
    Type Name Description
    System.String cellSelecting
    Returns
    Type Description
    GanttBuilder

    CollapseAllParentTasks(Boolean)

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

    Declaration
    public GanttBuilder CollapseAllParentTasks(bool collapseAllParentTasks = true)
    Parameters
    Type Name Description
    System.Boolean collapseAllParentTasks
    Returns
    Type Description
    GanttBuilder

    Collapsed(String)

    This will be triggered after the row getting collapsed.

    Declaration
    public GanttBuilder Collapsed(string collapsed)
    Parameters
    Type Name Description
    System.String collapsed
    Returns
    Type Description
    GanttBuilder

    Collapsing(String)

    This will be triggered before the row getting collapsed.

    Declaration
    public GanttBuilder Collapsing(string collapsing)
    Parameters
    Type Name Description
    System.String collapsing
    Returns
    Type Description
    GanttBuilder

    ColumnDrag(String)

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

    Declaration
    public GanttBuilder ColumnDrag(string columnDrag)
    Parameters
    Type Name Description
    System.String columnDrag
    Returns
    Type Description
    GanttBuilder

    ColumnDragStart(String)

    Triggers when column header element drag (move) starts.

    Declaration
    public GanttBuilder ColumnDragStart(string columnDragStart)
    Parameters
    Type Name Description
    System.String columnDragStart
    Returns
    Type Description
    GanttBuilder

    ColumnDrop(String)

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

    Declaration
    public GanttBuilder ColumnDrop(string columnDrop)
    Parameters
    Type Name Description
    System.String columnDrop
    Returns
    Type Description
    GanttBuilder

    ColumnMenuClick(String)

    Triggers when click on column menu.

    Declaration
    public GanttBuilder ColumnMenuClick(string columnMenuClick)
    Parameters
    Type Name Description
    System.String columnMenuClick
    Returns
    Type Description
    GanttBuilder

    ColumnMenuItems(Object)

    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 GanttBuilder ColumnMenuItems(object columnMenuItems)
    Parameters
    Type Name Description
    System.Object columnMenuItems
    Returns
    Type Description
    GanttBuilder

    ColumnMenuOpen(String)

    Triggers before column menu opens.

    Declaration
    public GanttBuilder ColumnMenuOpen(string columnMenuOpen)
    Parameters
    Type Name Description
    System.String columnMenuOpen
    Returns
    Type Description
    GanttBuilder

    Columns(Action<GanttColumnBuilder>)

    Declaration
    public GanttBuilder Columns(Action<GanttColumnBuilder> columns)
    Parameters
    Type Name Description
    System.Action<GanttColumnBuilder> columns
    Returns
    Type Description
    GanttBuilder

    Columns(List<GanttColumn>)

    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 GanttBuilder Columns(List<GanttColumn> columns)
    Parameters
    Type Name Description
    System.Collections.Generic.List<GanttColumn> columns
    Returns
    Type Description
    GanttBuilder

    Columns(Object)

    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 GanttBuilder Columns(object columns)
    Parameters
    Type Name Description
    System.Object columns
    Returns
    Type Description
    GanttBuilder

    Columns(String[])

    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 GanttBuilder Columns(string[] columns)
    Parameters
    Type Name Description
    System.String[] columns
    Returns
    Type Description
    GanttBuilder

    ConnectorLineBackground(String)

    Defines background color of dependency lines.

    Declaration
    public GanttBuilder ConnectorLineBackground(string connectorLineBackground)
    Parameters
    Type Name Description
    System.String connectorLineBackground
    Returns
    Type Description
    GanttBuilder

    ConnectorLineWidth(Int32)

    Defines width of dependency lines.

    Declaration
    public GanttBuilder ConnectorLineWidth(int connectorLineWidth)
    Parameters
    Type Name Description
    System.Int32 connectorLineWidth
    Returns
    Type Description
    GanttBuilder

    ContextMenuClick(String)

    Triggers when click on context menu.

    Declaration
    public GanttBuilder ContextMenuClick(string contextMenuClick)
    Parameters
    Type Name Description
    System.String contextMenuClick
    Returns
    Type Description
    GanttBuilder

    ContextMenuItems(Object)

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

    Declaration
    public GanttBuilder ContextMenuItems(object contextMenuItems)
    Parameters
    Type Name Description
    System.Object contextMenuItems
    Returns
    Type Description
    GanttBuilder

    ContextMenuOpen(String)

    Triggers before context menu opens.

    Declaration
    public GanttBuilder ContextMenuOpen(string contextMenuOpen)
    Parameters
    Type Name Description
    System.String contextMenuOpen
    Returns
    Type Description
    GanttBuilder

    Created(String)

    Triggers when the component is created.

    Declaration
    public GanttBuilder Created(string created)
    Parameters
    Type Name Description
    System.String created
    Returns
    Type Description
    GanttBuilder

    DataBound(String)

    Triggers when data source is populated in the Grid.

    Declaration
    public GanttBuilder DataBound(string dataBound)
    Parameters
    Type Name Description
    System.String dataBound
    Returns
    Type Description
    GanttBuilder

    DataSource(Action<DataManagerBuilder>)

    Declaration
    public GanttBuilder DataSource(Action<DataManagerBuilder> dataSource)
    Parameters
    Type Name Description
    System.Action<DataManagerBuilder> dataSource
    Returns
    Type Description
    GanttBuilder

    DataSource(Object)

    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 GanttBuilder DataSource(object dataSource)
    Parameters
    Type Name Description
    System.Object dataSource
    Returns
    Type Description
    GanttBuilder

    DataStateChange(String)

    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 GanttBuilder DataStateChange(string dataStateChange)
    Parameters
    Type Name Description
    System.String dataStateChange
    Returns
    Type Description
    GanttBuilder

    DateFormat(String)

    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 GanttBuilder DateFormat(string dateFormat)
    Parameters
    Type Name Description
    System.String dateFormat
    Returns
    Type Description
    GanttBuilder

    DayWorkingTime(Action<GanttDayWorkingTimeBuilder>)

    Declaration
    public GanttBuilder DayWorkingTime(Action<GanttDayWorkingTimeBuilder> dayWorkingTime)
    Parameters
    Type Name Description
    System.Action<GanttDayWorkingTimeBuilder> dayWorkingTime
    Returns
    Type Description
    GanttBuilder

    DayWorkingTime(List<GanttDayWorkingTime>)

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

    Declaration
    public GanttBuilder DayWorkingTime(List<GanttDayWorkingTime> dayWorkingTime)
    Parameters
    Type Name Description
    System.Collections.Generic.List<GanttDayWorkingTime> dayWorkingTime
    Returns
    Type Description
    GanttBuilder

    Destroyed(String)

    Triggers when the component is destroyed.

    Declaration
    public GanttBuilder Destroyed(string destroyed)
    Parameters
    Type Name Description
    System.String destroyed
    Returns
    Type Description
    GanttBuilder

    DisableHtmlEncode(Boolean)

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

    Declaration
    public GanttBuilder DisableHtmlEncode(bool disableHtmlEncode = true)
    Parameters
    Type Name Description
    System.Boolean disableHtmlEncode
    Returns
    Type Description
    GanttBuilder

    DurationUnit(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 GanttBuilder DurationUnit(DurationUnit durationUnit)
    Parameters
    Type Name Description
    DurationUnit durationUnit
    Returns
    Type Description
    GanttBuilder

    EditDialogFields(Action<GanttEditDialogFieldBuilder>)

    Declaration
    public GanttBuilder EditDialogFields(Action<GanttEditDialogFieldBuilder> editDialogFields)
    Parameters
    Type Name Description
    System.Action<GanttEditDialogFieldBuilder> editDialogFields
    Returns
    Type Description
    GanttBuilder

    EditDialogFields(List<GanttEditDialogField>)

    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 GanttBuilder EditDialogFields(List<GanttEditDialogField> editDialogFields)
    Parameters
    Type Name Description
    System.Collections.Generic.List<GanttEditDialogField> editDialogFields
    Returns
    Type Description
    GanttBuilder

    EditSettings(GanttEditSettings)

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

    Declaration
    public GanttBuilder EditSettings(GanttEditSettings editSettings)
    Parameters
    Type Name Description
    GanttEditSettings editSettings
    Returns
    Type Description
    GanttBuilder

    EditSettings(Action<GanttEditSettingsBuilder>)

    Declaration
    public GanttBuilder EditSettings(Action<GanttEditSettingsBuilder> editSettings)
    Parameters
    Type Name Description
    System.Action<GanttEditSettingsBuilder> editSettings
    Returns
    Type Description
    GanttBuilder

    EnableContextMenu(Boolean)

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

    Declaration
    public GanttBuilder EnableContextMenu(bool enableContextMenu = true)
    Parameters
    Type Name Description
    System.Boolean enableContextMenu
    Returns
    Type Description
    GanttBuilder

    EnableCriticalPath(Boolean)

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

    Declaration
    public GanttBuilder EnableCriticalPath(bool enableCriticalPath = true)
    Parameters
    Type Name Description
    System.Boolean enableCriticalPath
    Returns
    Type Description
    GanttBuilder

    EnableHtmlSanitizer(Boolean)

    Specifies whether to display or remove the untrusted HTML values in the TreeGrid component. If enableHtmlSanitizer set to true, then it will sanitize any suspected untrusted strings and scripts before rendering them.

    Declaration
    public GanttBuilder EnableHtmlSanitizer(bool enableHtmlSanitizer = true)
    Parameters
    Type Name Description
    System.Boolean enableHtmlSanitizer
    Returns
    Type Description
    GanttBuilder

    EnableImmutableMode(Boolean)

    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 GanttBuilder EnableImmutableMode(bool enableImmutableMode = true)
    Parameters
    Type Name Description
    System.Boolean enableImmutableMode
    Returns
    Type Description
    GanttBuilder

    EnableMultiTaskbar(Boolean)

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

    Declaration
    public GanttBuilder EnableMultiTaskbar(bool enableMultiTaskbar = true)
    Parameters
    Type Name Description
    System.Boolean enableMultiTaskbar
    Returns
    Type Description
    GanttBuilder

    EnablePersistence(Boolean)

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

    Declaration
    public GanttBuilder EnablePersistence(bool enablePersistence = true)
    Parameters
    Type Name Description
    System.Boolean enablePersistence
    Returns
    Type Description
    GanttBuilder

    EnablePredecessorValidation(Boolean)

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

    Declaration
    public GanttBuilder EnablePredecessorValidation(bool enablePredecessorValidation = true)
    Parameters
    Type Name Description
    System.Boolean enablePredecessorValidation
    Returns
    Type Description
    GanttBuilder

    EnableRtl(Boolean)

    Enable or disable rendering component in right to left direction.

    Declaration
    public GanttBuilder EnableRtl(bool enableRtl = true)
    Parameters
    Type Name Description
    System.Boolean enableRtl
    Returns
    Type Description
    GanttBuilder

    EnableVirtualization(Boolean)

    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 GanttBuilder EnableVirtualization(bool enableVirtualization = true)
    Parameters
    Type Name Description
    System.Boolean enableVirtualization
    Returns
    Type Description
    GanttBuilder

    EnableVirtualMaskRow(Boolean)

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

    Declaration
    public GanttBuilder EnableVirtualMaskRow(bool enableVirtualMaskRow = true)
    Parameters
    Type Name Description
    System.Boolean enableVirtualMaskRow
    Returns
    Type Description
    GanttBuilder

    EndEdit(String)

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

    Declaration
    public GanttBuilder EndEdit(string endEdit)
    Parameters
    Type Name Description
    System.String endEdit
    Returns
    Type Description
    GanttBuilder

    EventMarkers(Action<GanttEventMarkerBuilder>)

    Declaration
    public GanttBuilder EventMarkers(Action<GanttEventMarkerBuilder> eventMarkers)
    Parameters
    Type Name Description
    System.Action<GanttEventMarkerBuilder> eventMarkers
    Returns
    Type Description
    GanttBuilder

    EventMarkers(List<GanttEventMarker>)

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

    Declaration
    public GanttBuilder EventMarkers(List<GanttEventMarker> eventMarkers)
    Parameters
    Type Name Description
    System.Collections.Generic.List<GanttEventMarker> eventMarkers
    Returns
    Type Description
    GanttBuilder

    ExcelExportComplete(String)

    Triggers after Gantt data is exported to Excel file.

    Declaration
    public GanttBuilder ExcelExportComplete(string excelExportComplete)
    Parameters
    Type Name Description
    System.String excelExportComplete
    Returns
    Type Description
    GanttBuilder

    ExcelHeaderQueryCellInfo(String)

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

    Declaration
    public GanttBuilder ExcelHeaderQueryCellInfo(string excelHeaderQueryCellInfo)
    Parameters
    Type Name Description
    System.String excelHeaderQueryCellInfo
    Returns
    Type Description
    GanttBuilder

    ExcelQueryCellInfo(String)

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

    Declaration
    public GanttBuilder ExcelQueryCellInfo(string excelQueryCellInfo)
    Parameters
    Type Name Description
    System.String excelQueryCellInfo
    Returns
    Type Description
    GanttBuilder

    Expanded(String)

    This will be triggered after the row getting expanded.

    Declaration
    public GanttBuilder Expanded(string expanded)
    Parameters
    Type Name Description
    System.String expanded
    Returns
    Type Description
    GanttBuilder

    Expanding(String)

    This will be triggered before the row getting expanded.

    Declaration
    public GanttBuilder Expanding(string expanding)
    Parameters
    Type Name Description
    System.String expanding
    Returns
    Type Description
    GanttBuilder

    FilterSettings(GanttFilterSettings)

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

    Declaration
    public GanttBuilder FilterSettings(GanttFilterSettings filterSettings)
    Parameters
    Type Name Description
    GanttFilterSettings filterSettings
    Returns
    Type Description
    GanttBuilder

    FilterSettings(Action<GanttFilterSettingsBuilder>)

    Declaration
    public GanttBuilder FilterSettings(Action<GanttFilterSettingsBuilder> filterSettings)
    Parameters
    Type Name Description
    System.Action<GanttFilterSettingsBuilder> filterSettings
    Returns
    Type Description
    GanttBuilder

    GridLines(GridLine)

    Configures the grid lines in tree grid and gantt chart.

    Declaration
    public GanttBuilder GridLines(GridLine gridLines)
    Parameters
    Type Name Description
    GridLine gridLines
    Returns
    Type Description
    GanttBuilder

    HeaderCellInfo(String)

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

    Declaration
    public GanttBuilder HeaderCellInfo(string headerCellInfo)
    Parameters
    Type Name Description
    System.String headerCellInfo
    Returns
    Type Description
    GanttBuilder

    Height(Double)

    Defines the height of the Gantt component container.

    Declaration
    public GanttBuilder Height(double height)
    Parameters
    Type Name Description
    System.Double height
    Returns
    Type Description
    GanttBuilder

    Height(String)

    Defines the height of the Gantt component container.

    Declaration
    public GanttBuilder Height(string height)
    Parameters
    Type Name Description
    System.String height
    Returns
    Type Description
    GanttBuilder

    HighlightWeekends(Boolean)

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

    Declaration
    public GanttBuilder HighlightWeekends(bool highlightWeekends = true)
    Parameters
    Type Name Description
    System.Boolean highlightWeekends
    Returns
    Type Description
    GanttBuilder

    Holidays(Action<GanttHolidayBuilder>)

    Declaration
    public GanttBuilder Holidays(Action<GanttHolidayBuilder> holidays)
    Parameters
    Type Name Description
    System.Action<GanttHolidayBuilder> holidays
    Returns
    Type Description
    GanttBuilder

    Holidays(List<GanttHoliday>)

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

    Declaration
    public GanttBuilder Holidays(List<GanttHoliday> holidays)
    Parameters
    Type Name Description
    System.Collections.Generic.List<GanttHoliday> holidays
    Returns
    Type Description
    GanttBuilder

    HtmlAttributes(Object)

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

    Declaration
    public GanttBuilder HtmlAttributes(object htmlAttributes)
    Parameters
    Type Name Description
    System.Object htmlAttributes
    Returns
    Type Description
    GanttBuilder

    IncludeWeekend(Boolean)

    Defines weekend days are considered as working day or not.

    Declaration
    public GanttBuilder IncludeWeekend(bool includeWeekend = true)
    Parameters
    Type Name Description
    System.Boolean includeWeekend
    Returns
    Type Description
    GanttBuilder

    LabelSettings(GanttLabelSettings)

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

    Declaration
    public GanttBuilder LabelSettings(GanttLabelSettings labelSettings)
    Parameters
    Type Name Description
    GanttLabelSettings labelSettings
    Returns
    Type Description
    GanttBuilder

    LabelSettings(Action<GanttLabelSettingsBuilder>)

    Declaration
    public GanttBuilder LabelSettings(Action<GanttLabelSettingsBuilder> labelSettings)
    Parameters
    Type Name Description
    System.Action<GanttLabelSettingsBuilder> labelSettings
    Returns
    Type Description
    GanttBuilder

    Load(String)

    Triggered before the Gantt control gets rendered.

    Declaration
    public GanttBuilder Load(string load)
    Parameters
    Type Name Description
    System.String load
    Returns
    Type Description
    GanttBuilder

    LoadingIndicator(GanttLoadingIndicator)

    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 GanttBuilder LoadingIndicator(GanttLoadingIndicator loadingIndicator)
    Parameters
    Type Name Description
    GanttLoadingIndicator loadingIndicator
    Returns
    Type Description
    GanttBuilder

    LoadingIndicator(Action<GanttLoadingIndicatorBuilder>)

    Declaration
    public GanttBuilder LoadingIndicator(Action<GanttLoadingIndicatorBuilder> loadingIndicator)
    Parameters
    Type Name Description
    System.Action<GanttLoadingIndicatorBuilder> loadingIndicator
    Returns
    Type Description
    GanttBuilder

    Locale(String)

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

    Declaration
    public GanttBuilder Locale(string locale)
    Parameters
    Type Name Description
    System.String locale
    Returns
    Type Description
    GanttBuilder

    MilestoneTemplate(String)

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

    Declaration
    public GanttBuilder MilestoneTemplate(string milestoneTemplate)
    Parameters
    Type Name Description
    System.String milestoneTemplate
    Returns
    Type Description
    GanttBuilder

    OnMouseMove(String)

    This event will be triggered when mouse move on Gantt.

    Declaration
    public GanttBuilder OnMouseMove(string onMouseMove)
    Parameters
    Type Name Description
    System.String onMouseMove
    Returns
    Type Description
    GanttBuilder

    OnTaskbarClick(String)

    This event will be triggered when click on taskbar element.

    Declaration
    public GanttBuilder OnTaskbarClick(string onTaskbarClick)
    Parameters
    Type Name Description
    System.String onTaskbarClick
    Returns
    Type Description
    GanttBuilder

    ParentTaskbarTemplate(String)

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

    Declaration
    public GanttBuilder ParentTaskbarTemplate(string parentTaskbarTemplate)
    Parameters
    Type Name Description
    System.String parentTaskbarTemplate
    Returns
    Type Description
    GanttBuilder

    PdfColumnHeaderQueryCellInfo(String)

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

    Declaration
    public GanttBuilder PdfColumnHeaderQueryCellInfo(string pdfColumnHeaderQueryCellInfo)
    Parameters
    Type Name Description
    System.String pdfColumnHeaderQueryCellInfo
    Returns
    Type Description
    GanttBuilder

    PdfExportComplete(String)

    Triggers after TreeGrid data is exported to PDF document.

    Declaration
    public GanttBuilder PdfExportComplete(string pdfExportComplete)
    Parameters
    Type Name Description
    System.String pdfExportComplete
    Returns
    Type Description
    GanttBuilder

    PdfQueryCellInfo(String)

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

    Declaration
    public GanttBuilder PdfQueryCellInfo(string pdfQueryCellInfo)
    Parameters
    Type Name Description
    System.String pdfQueryCellInfo
    Returns
    Type Description
    GanttBuilder

    PdfQueryTaskbarInfo(String)

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

    Declaration
    public GanttBuilder PdfQueryTaskbarInfo(string pdfQueryTaskbarInfo)
    Parameters
    Type Name Description
    System.String pdfQueryTaskbarInfo
    Returns
    Type Description
    GanttBuilder

    PdfQueryTimelineCellInfo(String)

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

    Declaration
    public GanttBuilder PdfQueryTimelineCellInfo(string pdfQueryTimelineCellInfo)
    Parameters
    Type Name Description
    System.String pdfQueryTimelineCellInfo
    Returns
    Type Description
    GanttBuilder

    ProjectEndDate(String)

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

    Declaration
    public GanttBuilder ProjectEndDate(string projectEndDate)
    Parameters
    Type Name Description
    System.String projectEndDate
    Returns
    Type Description
    GanttBuilder

    ProjectStartDate(String)

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

    Declaration
    public GanttBuilder ProjectStartDate(string projectStartDate)
    Parameters
    Type Name Description
    System.String projectStartDate
    Returns
    Type Description
    GanttBuilder

    Query(String)

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

    Declaration
    public GanttBuilder Query(string query)
    Parameters
    Type Name Description
    System.String query
    Returns
    Type Description
    GanttBuilder

    QueryCellInfo(String)

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

    Declaration
    public GanttBuilder QueryCellInfo(string queryCellInfo)
    Parameters
    Type Name Description
    System.String queryCellInfo
    Returns
    Type Description
    GanttBuilder

    QueryTaskbarInfo(String)

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

    Declaration
    public GanttBuilder QueryTaskbarInfo(string queryTaskbarInfo)
    Parameters
    Type Name Description
    System.String queryTaskbarInfo
    Returns
    Type Description
    GanttBuilder

    ReadOnly(Boolean)

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

    Declaration
    public GanttBuilder ReadOnly(bool readOnly = true)
    Parameters
    Type Name Description
    System.Boolean readOnly
    Returns
    Type Description
    GanttBuilder

    RecordDoubleClick(String)

    This event will be triggered when double click on record.

    Declaration
    public GanttBuilder RecordDoubleClick(string recordDoubleClick)
    Parameters
    Type Name Description
    System.String recordDoubleClick
    Returns
    Type Description
    GanttBuilder

    Render()

    Declaration
    public HtmlString Render()
    Returns
    Type Description
    System.Web.HtmlString

    RenderBaseline(Boolean)

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

    Declaration
    public GanttBuilder RenderBaseline(bool renderBaseline = true)
    Parameters
    Type Name Description
    System.Boolean renderBaseline
    Returns
    Type Description
    GanttBuilder

    ResizeStart(String)

    Triggers when column resize starts.

    Declaration
    public GanttBuilder ResizeStart(string resizeStart)
    Parameters
    Type Name Description
    System.String resizeStart
    Returns
    Type Description
    GanttBuilder

    ResizeStop(String)

    Triggers when column resize ends.

    Declaration
    public GanttBuilder ResizeStop(string resizeStop)
    Parameters
    Type Name Description
    System.String resizeStop
    Returns
    Type Description
    GanttBuilder

    Resizing(String)

    Triggers on column resizing.

    Declaration
    public GanttBuilder Resizing(string resizing)
    Parameters
    Type Name Description
    System.String resizing
    Returns
    Type Description
    GanttBuilder

    ResourceFields(GanttResourceFields)

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

    Declaration
    public GanttBuilder ResourceFields(GanttResourceFields resourceFields)
    Parameters
    Type Name Description
    GanttResourceFields resourceFields
    Returns
    Type Description
    GanttBuilder

    ResourceFields(Action<GanttResourceFieldsBuilder>)

    Declaration
    public GanttBuilder ResourceFields(Action<GanttResourceFieldsBuilder> resourceFields)
    Parameters
    Type Name Description
    System.Action<GanttResourceFieldsBuilder> resourceFields
    Returns
    Type Description
    GanttBuilder

    ResourceIDMapping(String)

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

    Declaration
    public GanttBuilder ResourceIDMapping(string resourceIDMapping)
    Parameters
    Type Name Description
    System.String resourceIDMapping
    Returns
    Type Description
    GanttBuilder

    ResourceNameMapping(String)

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

    Declaration
    public GanttBuilder ResourceNameMapping(string resourceNameMapping)
    Parameters
    Type Name Description
    System.String resourceNameMapping
    Returns
    Type Description
    GanttBuilder

    Resources(Object)

    Defines resource collection assigned for projects.

    Declaration
    public GanttBuilder Resources(object resources)
    Parameters
    Type Name Description
    System.Object resources
    Returns
    Type Description
    GanttBuilder

    RowDataBound(String)

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

    Declaration
    public GanttBuilder RowDataBound(string rowDataBound)
    Parameters
    Type Name Description
    System.String rowDataBound
    Returns
    Type Description
    GanttBuilder

    RowDeselected(String)

    Triggers when a selected row is deselected.

    Declaration
    public GanttBuilder RowDeselected(string rowDeselected)
    Parameters
    Type Name Description
    System.String rowDeselected
    Returns
    Type Description
    GanttBuilder

    RowDeselecting(String)

    Triggers before deselecting the selected row.

    Declaration
    public GanttBuilder RowDeselecting(string rowDeselecting)
    Parameters
    Type Name Description
    System.String rowDeselecting
    Returns
    Type Description
    GanttBuilder

    RowDrag(String)

    Triggers when row elements are dragged (moved) continuously.

    Declaration
    public GanttBuilder RowDrag(string rowDrag)
    Parameters
    Type Name Description
    System.String rowDrag
    Returns
    Type Description
    GanttBuilder

    RowDragStart(String)

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

    Declaration
    public GanttBuilder RowDragStart(string rowDragStart)
    Parameters
    Type Name Description
    System.String rowDragStart
    Returns
    Type Description
    GanttBuilder

    RowDragStartHelper(String)

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

    Declaration
    public GanttBuilder RowDragStartHelper(string rowDragStartHelper)
    Parameters
    Type Name Description
    System.String rowDragStartHelper
    Returns
    Type Description
    GanttBuilder

    RowDrop(String)

    Triggers when row elements are dropped on the target row.

    Declaration
    public GanttBuilder RowDrop(string rowDrop)
    Parameters
    Type Name Description
    System.String rowDrop
    Returns
    Type Description
    GanttBuilder

    RowHeight(Int32)

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

    Declaration
    public GanttBuilder RowHeight(int rowHeight)
    Parameters
    Type Name Description
    System.Int32 rowHeight
    Returns
    Type Description
    GanttBuilder

    RowSelected(String)

    Triggers after row selection occurs.

    Declaration
    public GanttBuilder RowSelected(string rowSelected)
    Parameters
    Type Name Description
    System.String rowSelected
    Returns
    Type Description
    GanttBuilder

    RowSelecting(String)

    Triggers before row selection occurs.

    Declaration
    public GanttBuilder RowSelecting(string rowSelecting)
    Parameters
    Type Name Description
    System.String rowSelecting
    Returns
    Type Description
    GanttBuilder

    SearchSettings(GanttSearchSettings)

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

    Declaration
    public GanttBuilder SearchSettings(GanttSearchSettings searchSettings)
    Parameters
    Type Name Description
    GanttSearchSettings searchSettings
    Returns
    Type Description
    GanttBuilder

    SearchSettings(Action<GanttSearchSettingsBuilder>)

    Declaration
    public GanttBuilder SearchSettings(Action<GanttSearchSettingsBuilder> searchSettings)
    Parameters
    Type Name Description
    System.Action<GanttSearchSettingsBuilder> searchSettings
    Returns
    Type Description
    GanttBuilder

    SegmentData(Object)

    Defines segment collection assigned for tasks.

    Declaration
    public GanttBuilder SegmentData(object segmentData)
    Parameters
    Type Name Description
    System.Object segmentData
    Returns
    Type Description
    GanttBuilder

    SelectedRowIndex(Int32)

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

    Declaration
    public GanttBuilder SelectedRowIndex(int selectedRowIndex)
    Parameters
    Type Name Description
    System.Int32 selectedRowIndex
    Returns
    Type Description
    GanttBuilder

    SelectionSettings(GanttSelectionSettings)

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

    Declaration
    public GanttBuilder SelectionSettings(GanttSelectionSettings selectionSettings)
    Parameters
    Type Name Description
    GanttSelectionSettings selectionSettings
    Returns
    Type Description
    GanttBuilder

    SelectionSettings(Action<GanttSelectionSettingsBuilder>)

    Declaration
    public GanttBuilder SelectionSettings(Action<GanttSelectionSettingsBuilder> selectionSettings)
    Parameters
    Type Name Description
    System.Action<GanttSelectionSettingsBuilder> selectionSettings
    Returns
    Type Description
    GanttBuilder

    ShowColumnMenu(Boolean)

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

    Declaration
    public GanttBuilder ShowColumnMenu(bool showColumnMenu = true)
    Parameters
    Type Name Description
    System.Boolean showColumnMenu
    Returns
    Type Description
    GanttBuilder

    ShowInlineNotes(Boolean)

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

    Declaration
    public GanttBuilder ShowInlineNotes(bool showInlineNotes = true)
    Parameters
    Type Name Description
    System.Boolean showInlineNotes
    Returns
    Type Description
    GanttBuilder

    ShowOverAllocation(Boolean)

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

    Declaration
    public GanttBuilder ShowOverAllocation(bool showOverAllocation = true)
    Parameters
    Type Name Description
    System.Boolean showOverAllocation
    Returns
    Type Description
    GanttBuilder

    SortSettings(GanttSortSettings)

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

    Declaration
    public GanttBuilder SortSettings(GanttSortSettings sortSettings)
    Parameters
    Type Name Description
    GanttSortSettings sortSettings
    Returns
    Type Description
    GanttBuilder

    SortSettings(Action<GanttSortSettingsBuilder>)

    Declaration
    public GanttBuilder SortSettings(Action<GanttSortSettingsBuilder> sortSettings)
    Parameters
    Type Name Description
    System.Action<GanttSortSettingsBuilder> sortSettings
    Returns
    Type Description
    GanttBuilder

    SplitterResized(String)

    Triggers when splitter resizing action completed.

    Declaration
    public GanttBuilder SplitterResized(string splitterResized)
    Parameters
    Type Name Description
    System.String splitterResized
    Returns
    Type Description
    GanttBuilder

    SplitterResizeStart(String)

    Triggers when splitter resizing starts.

    Declaration
    public GanttBuilder SplitterResizeStart(string splitterResizeStart)
    Parameters
    Type Name Description
    System.String splitterResizeStart
    Returns
    Type Description
    GanttBuilder

    SplitterResizing(String)

    Triggers when splitter bar was dragging.

    Declaration
    public GanttBuilder SplitterResizing(string splitterResizing)
    Parameters
    Type Name Description
    System.String splitterResizing
    Returns
    Type Description
    GanttBuilder

    SplitterSettings(GanttSplitterSettings)

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

    Declaration
    public GanttBuilder SplitterSettings(GanttSplitterSettings splitterSettings)
    Parameters
    Type Name Description
    GanttSplitterSettings splitterSettings
    Returns
    Type Description
    GanttBuilder

    SplitterSettings(Action<GanttSplitterSettingsBuilder>)

    Declaration
    public GanttBuilder SplitterSettings(Action<GanttSplitterSettingsBuilder> splitterSettings)
    Parameters
    Type Name Description
    System.Action<GanttSplitterSettingsBuilder> splitterSettings
    Returns
    Type Description
    GanttBuilder

    TaskbarEdited(String)

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

    Declaration
    public GanttBuilder TaskbarEdited(string taskbarEdited)
    Parameters
    Type Name Description
    System.String taskbarEdited
    Returns
    Type Description
    GanttBuilder

    TaskbarEditing(String)

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

    Declaration
    public GanttBuilder TaskbarEditing(string taskbarEditing)
    Parameters
    Type Name Description
    System.String taskbarEditing
    Returns
    Type Description
    GanttBuilder

    TaskbarHeight(Nullable<Int32>)

    Defines height of taskbar element in Gantt.

    Declaration
    public GanttBuilder TaskbarHeight(int? taskbarHeight)
    Parameters
    Type Name Description
    System.Nullable<System.Int32> taskbarHeight
    Returns
    Type Description
    GanttBuilder

    TaskbarTemplate(String)

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

    Declaration
    public GanttBuilder TaskbarTemplate(string taskbarTemplate)
    Parameters
    Type Name Description
    System.String taskbarTemplate
    Returns
    Type Description
    GanttBuilder

    TaskFields(GanttTaskFields)

    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 GanttBuilder TaskFields(GanttTaskFields taskFields)
    Parameters
    Type Name Description
    GanttTaskFields taskFields
    Returns
    Type Description
    GanttBuilder

    TaskFields(Action<GanttTaskFieldsBuilder>)

    Declaration
    public GanttBuilder TaskFields(Action<GanttTaskFieldsBuilder> taskFields)
    Parameters
    Type Name Description
    System.Action<GanttTaskFieldsBuilder> taskFields
    Returns
    Type Description
    GanttBuilder

    TaskMode(ScheduleMode)

    Specifies task schedule mode for a project.

    Declaration
    public GanttBuilder TaskMode(ScheduleMode taskMode)
    Parameters
    Type Name Description
    ScheduleMode taskMode
    Returns
    Type Description
    GanttBuilder

    TaskType(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 GanttBuilder TaskType(TaskType taskType)
    Parameters
    Type Name Description
    TaskType taskType
    Returns
    Type Description
    GanttBuilder

    TimelineSettings(GanttTimelineSettings)

    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 GanttBuilder TimelineSettings(GanttTimelineSettings timelineSettings)
    Parameters
    Type Name Description
    GanttTimelineSettings timelineSettings
    Returns
    Type Description
    GanttBuilder

    TimelineSettings(Action<GanttTimelineSettingsBuilder>)

    Declaration
    public GanttBuilder TimelineSettings(Action<GanttTimelineSettingsBuilder> timelineSettings)
    Parameters
    Type Name Description
    System.Action<GanttTimelineSettingsBuilder> timelineSettings
    Returns
    Type Description
    GanttBuilder

    Timezone(String)

    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 GanttBuilder Timezone(string timezone)
    Parameters
    Type Name Description
    System.String timezone
    Returns
    Type Description
    GanttBuilder

    Toolbar(Object)

    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 GanttBuilder Toolbar(object toolbar)
    Parameters
    Type Name Description
    System.Object toolbar
    Returns
    Type Description
    GanttBuilder

    ToolbarClick(String)

    Triggers when toolbar item was clicked.

    Declaration
    public GanttBuilder ToolbarClick(string toolbarClick)
    Parameters
    Type Name Description
    System.String toolbarClick
    Returns
    Type Description
    GanttBuilder

    TooltipSettings(GanttTooltipSettings)

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

    Declaration
    public GanttBuilder TooltipSettings(GanttTooltipSettings tooltipSettings)
    Parameters
    Type Name Description
    GanttTooltipSettings tooltipSettings
    Returns
    Type Description
    GanttBuilder

    TooltipSettings(Action<GanttTooltipSettingsBuilder>)

    Declaration
    public GanttBuilder TooltipSettings(Action<GanttTooltipSettingsBuilder> tooltipSettings)
    Parameters
    Type Name Description
    System.Action<GanttTooltipSettingsBuilder> tooltipSettings
    Returns
    Type Description
    GanttBuilder

    TreeColumnIndex(Int32)

    To define expander column index in Grid.

    Declaration
    public GanttBuilder TreeColumnIndex(int treeColumnIndex)
    Parameters
    Type Name Description
    System.Int32 treeColumnIndex
    Returns
    Type Description
    GanttBuilder

    UpdateOffsetOnTaskbarEdit(Boolean)

    Specifies whether to update offset value on a task for all the predecessor edit actions.

    Declaration
    public GanttBuilder UpdateOffsetOnTaskbarEdit(bool UpdateOffsetOnTaskbarEdit = true)
    Parameters
    Type Name Description
    System.Boolean UpdateOffsetOnTaskbarEdit
    Returns
    Type Description
    GanttBuilder

    ValidateManualTasksOnLinking(Boolean)

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

    Declaration
    public GanttBuilder ValidateManualTasksOnLinking(bool validateManualTasksOnLinking = true)
    Parameters
    Type Name Description
    System.Boolean validateManualTasksOnLinking
    Returns
    Type Description
    GanttBuilder

    ViewType(ViewType)

    Defines the view type of the Gantt.

    Declaration
    public GanttBuilder ViewType(ViewType viewType)
    Parameters
    Type Name Description
    ViewType viewType
    Returns
    Type Description
    GanttBuilder

    Width(Double)

    Defines the width of the Gantt component container.

    Declaration
    public GanttBuilder Width(double width)
    Parameters
    Type Name Description
    System.Double width
    Returns
    Type Description
    GanttBuilder

    Width(String)

    Defines the width of the Gantt component container.

    Declaration
    public GanttBuilder Width(string width)
    Parameters
    Type Name Description
    System.String width
    Returns
    Type Description
    GanttBuilder

    WorkUnit(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 GanttBuilder WorkUnit(WorkUnit workUnit)
    Parameters
    Type Name Description
    WorkUnit workUnit
    Returns
    Type Description
    GanttBuilder

    WorkWeek(String[])

    Defines workweek of project.

    Declaration
    public GanttBuilder WorkWeek(string[] workWeek)
    Parameters
    Type Name Description
    System.String[] workWeek
    Returns
    Type Description
    GanttBuilder

    ZoomingLevels(Object)

    Configure zooming levels of Gantt Timeline

    Declaration
    public GanttBuilder ZoomingLevels(object zoomingLevels)
    Parameters
    Type Name Description
    System.Object zoomingLevels
    Returns
    Type Description
    GanttBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved