Class GanttPropertiesBuilder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class GanttPropertiesBuilder : IPropertiesBuilder, IHtmlString
Constructors
GanttPropertiesBuilder()
Declaration
public GanttPropertiesBuilder()
GanttPropertiesBuilder(Gantt)
Initializes a new instance of the Gantt class
Declaration
public GanttPropertiesBuilder(Gantt gantt)
Parameters
Type | Name | Description |
---|---|---|
Gantt | gantt | It accepts the gantt properties |
Fields
gantt
Declaration
public Gantt gantt
Field Value
Type | Description |
---|---|
Gantt |
Methods
AddDialogFields(Action<AddDialogPropertiesBuilder>)
It sets the fields to be included in the add dialog in gantt
Declaration
public GanttPropertiesBuilder AddDialogFields(Action<AddDialogPropertiesBuilder> addDialogFields)
Parameters
Type | Name | Description |
---|---|---|
System.Action<AddDialogPropertiesBuilder> | addDialogFields | It accepts the list of fields to be included in the add dialog |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
AddDialogFields(List<AddDialogField>)
It sets the fields to be included in the add dialog in gantt
Declaration
public GanttPropertiesBuilder AddDialogFields(List<AddDialogField> addDialogFields)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<AddDialogField> | addDialogFields | It accepts the list of fields to be included in the add dialog |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
AllowColumnResize()
It disable the column resize ability for gantt
Declaration
public GanttPropertiesBuilder AllowColumnResize()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
AllowColumnResize(Boolean)
It sets the enables or disables the ability of column resize
Declaration
public GanttPropertiesBuilder AllowColumnResize(bool allowColumnResize)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowColumnResize | It accepts the boolean value and enables/disables the ability of column resize |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
AllowDragAndDrop()
It disables the ability to drag andd drop the row interactively to reorder the rows
Declaration
public GanttPropertiesBuilder AllowDragAndDrop()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
AllowDragAndDrop(Boolean)
It sets the enables or disables the ability to drag and drop the row interactively to reorder the rows.
Declaration
public GanttPropertiesBuilder AllowDragAndDrop(bool allowDragAndDrop)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowDragAndDrop | It accepts the boolean value ane enables/disables the ability of drag and drop |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
AllowGanttChartEditing()
It enables the gantt chart editing in gantt
Declaration
public GanttPropertiesBuilder AllowGanttChartEditing()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
AllowGanttChartEditing(Boolean)
It sets the enables or disables gantt chart editing in gantt
Declaration
public GanttPropertiesBuilder AllowGanttChartEditing(bool allowGanttChartEditing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowGanttChartEditing | It accepts the boolean value and enables/disables the gantt chart editing |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
AllowKeyboardNavigation()
It enables the keyboard navigation in gantt.
Declaration
public GanttPropertiesBuilder AllowKeyboardNavigation()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
AllowKeyboardNavigation(Boolean)
It sets the enables or disables Keyboard navigation in gantt
Declaration
public GanttPropertiesBuilder AllowKeyboardNavigation(bool allowKeyboardNavigation)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowKeyboardNavigation | It accepts the boolean value and enables/disables the keyboard navigation |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
AllowMultipleExporting()
It disables the ability to export multiple gant
Declaration
public GanttPropertiesBuilder AllowMultipleExporting()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
AllowMultipleExporting(Boolean)
It sets the enables or disables the ability to export multiple gantt
Declaration
public GanttPropertiesBuilder AllowMultipleExporting(bool allowMultipleExporting)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowMultipleExporting | It accepts the boolean value and enables/disables the ability to export multiple gantt |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
AllowMultiSorting()
It disabels the multiple sorting for gantt.
Declaration
public GanttPropertiesBuilder AllowMultiSorting()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
AllowMultiSorting(Boolean)
It sets the enabling or disabling multiple sorting for gantt columns
Declaration
public GanttPropertiesBuilder AllowMultiSorting(bool allowMultiSorting)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowMultiSorting | It accepts the boolean value and enables/disables the multiple sorting |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
AllowSelection()
It disables the interactive selection of row or cell
Declaration
public GanttPropertiesBuilder AllowSelection()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
AllowSelection(Boolean)
It sets the enables or disables the interactive selction of row ro cell
Declaration
public GanttPropertiesBuilder AllowSelection(bool allowSelection)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowSelection | It accepts the boolean value and enables/disables the interactive selection |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
AllowSorting()
It disables the sorting options for columns
Declaration
public GanttPropertiesBuilder AllowSorting()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
AllowSorting(Boolean)
It sets the enables or disables sorting for columns
Declaration
public GanttPropertiesBuilder AllowSorting(bool allowSorting)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowSorting | It accepts the boolean value and enables/disables the sorting for column |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
AllowUnscheduledTask()
It disables the unscheduled task
Declaration
public GanttPropertiesBuilder AllowUnscheduledTask()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
AllowUnscheduledTask(Boolean)
It sets the enables or disables the Unscheduled task
Declaration
public GanttPropertiesBuilder AllowUnscheduledTask(bool allowUnscheduledTask)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowUnscheduledTask | It accepts the boolean value and enables/disables the unscheduled task |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
BaselineColor(String)
It sets the baseline background color in gantt
Declaration
public GanttPropertiesBuilder BaselineColor(string baselineColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | baselineColor | It accepts the string value and set the baseline background color |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
BaselineEndDateMapping(String)
It sets the mapping property path for baseline end date of a task in datasource
Declaration
public GanttPropertiesBuilder BaselineEndDateMapping(string baselineEndDateMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | baselineEndDateMapping | It accepts the mapping property for baseline end date |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
BaselineStartDateMapping(String)
It sets the mapping property path for baseline start date of a task in datasource
Declaration
public GanttPropertiesBuilder BaselineStartDateMapping(string baselineStartDateMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | baselineStartDateMapping | It accepts the mapping property for baseline start date |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
CellTooltipTemplate(String)
It sets the tooltip template for specific column
Declaration
public GanttPropertiesBuilder CellTooltipTemplate(string cellTooltipTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.String | cellTooltipTemplate | It accepts the template string for specific column |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ChildMapping(String)
It sets the mapping property path for sub tasks in datasource
Declaration
public GanttPropertiesBuilder ChildMapping(string childMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | childMapping | It accepts the mapping property for child tasks |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ClientSideEvents(Action<GanttClientSideEventsBuilder>)
It set the list of client side events
Declaration
public GanttPropertiesBuilder ClientSideEvents(Action<GanttClientSideEventsBuilder> clientSideEvents)
Parameters
Type | Name | Description |
---|---|---|
System.Action<GanttClientSideEventsBuilder> | clientSideEvents | It accepts the list of client side events |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ColumnDialogFields(List<GanttColumnDialogFields>)
It sets the necessary column fields that to be shown in column dialog box
Declaration
public GanttPropertiesBuilder ColumnDialogFields(List<GanttColumnDialogFields> defaultItems)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<GanttColumnDialogFields> | defaultItems | It accepts the list of column fields |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ConnectorLineBackground(String)
It sets the background color of connector lines in Gantt
Declaration
public GanttPropertiesBuilder ConnectorLineBackground(string connectorLineBackground)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectorLineBackground | It accepts the string value and set the connector lines backgroun color |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ConnectorlineWidth(Int32)
It sets the width for connector line in gantt
Declaration
public GanttPropertiesBuilder ConnectorlineWidth(int connectorlineWidth)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | connectorlineWidth | It accepts the line width as integer |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
CssClass(String)
It sets the CSS class for gantt to achieve custom theme.
Declaration
public GanttPropertiesBuilder CssClass(string cssClass)
Parameters
Type | Name | Description |
---|---|---|
System.String | cssClass | It accepts the css class value as string |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
Datasource(DataSource)
It sets the Collection of data or hierarchical data to represent in gantt
Declaration
public GanttPropertiesBuilder Datasource(DataSource dataSource)
Parameters
Type | Name | Description |
---|---|---|
DataSource | dataSource | It accepts the collection of data or hierarchical data |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
Datasource(Action<DataSourceBuilder>)
It sets the Collection of data or hierarchical data to represent in gantt
Declaration
public GanttPropertiesBuilder Datasource(Action<DataSourceBuilder> dataSource)
Parameters
Type | Name | Description |
---|---|---|
System.Action<DataSourceBuilder> | dataSource | It accepts the collection of data or hierarchical data |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
Datasource(IEnumerable)
It sets the Collection of data or hierarchical data to represent in gantt
Declaration
public GanttPropertiesBuilder Datasource(IEnumerable dataSource)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | dataSource | It accepts the collection of data or hierarchical data |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
Datasource(Object)
It sets the Collection of data or hierarchical data to represent in gantt
Declaration
public GanttPropertiesBuilder Datasource(object dataSource)
Parameters
Type | Name | Description |
---|---|---|
System.Object | dataSource | It accepts the collection of data or hierarchical data |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
Datasource(String)
It sets the Collection of data or hierarchical data to represent in gantt
Declaration
public GanttPropertiesBuilder Datasource(string dataURL)
Parameters
Type | Name | Description |
---|---|---|
System.String | dataURL | It accepts the collection of data or hierarchical data |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
DateFormat(String)
It sets the dateFormat for gantt , given format is displayed in tooltip , grid .
Declaration
public GanttPropertiesBuilder DateFormat(string dateFormat)
Parameters
Type | Name | Description |
---|---|---|
System.String | dateFormat | It accepts the date format as string for gantt |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
DayWorkingTime(Action<GanttDayWorkingTimeBuilder>)
It set the working hour collection per day
Declaration
public GanttPropertiesBuilder DayWorkingTime(Action<GanttDayWorkingTimeBuilder> dayWorkingTime)
Parameters
Type | Name | Description |
---|---|---|
System.Action<GanttDayWorkingTimeBuilder> | dayWorkingTime | It accepts the list of working hour |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
DayWorkingTime(List<GanttDayWorkingTime>)
It sets the working hour collection per day
Declaration
public GanttPropertiesBuilder DayWorkingTime(List<GanttDayWorkingTime> dayWorkingTime)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<GanttDayWorkingTime> | dayWorkingTime | It accepts the list of working hour |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
DragTooltip(GanttDragTooltip)
It sets the customized drag tool tip. This tooltip will show the preview of the row that is being dragged.
Declaration
public GanttPropertiesBuilder DragTooltip(GanttDragTooltip dragTooltip)
Parameters
Type | Name | Description |
---|---|---|
GanttDragTooltip | dragTooltip | It accepts the customiztion of drag tool tip |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
DragTooltip(Action<GanttDragTooltipBuilder>)
It sets the customized drag tool tip. This tooltip will show the preview of the row that is being dragged.
Declaration
public GanttPropertiesBuilder DragTooltip(Action<GanttDragTooltipBuilder> dragTooltip)
Parameters
Type | Name | Description |
---|---|---|
System.Action<GanttDragTooltipBuilder> | dragTooltip | It accepts the customiztion of drag tool tip |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
DurationMapping(String)
It sets the mapping property path for duration of a task in datasource
Declaration
public GanttPropertiesBuilder DurationMapping(string durationMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | durationMapping | It accepts the mapping property for duration of task |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
DurationUnit(GanttDurationUnit)
It sets the duration unit of the task
Declaration
public GanttPropertiesBuilder DurationUnit(GanttDurationUnit durationUnit)
Parameters
Type | Name | Description |
---|---|---|
GanttDurationUnit | durationUnit | It accepts the type of duration unit |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
DurationUnitMapping(String)
It sets the mapping prorperty for duration.
Declaration
public GanttPropertiesBuilder DurationUnitMapping(string durationUnitMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | durationUnitMapping | It accepts the mappring property for duration |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EditDialogFields(Action<EditDialogPropertiesBuilder>)
It sets the fields to be included in the edit dialog in gantt
Declaration
public GanttPropertiesBuilder EditDialogFields(Action<EditDialogPropertiesBuilder> editDialogFields)
Parameters
Type | Name | Description |
---|---|---|
System.Action<EditDialogPropertiesBuilder> | editDialogFields | It accepts the list of fields to be included in the edit dialog |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EditDialogFields(List<EditDialogField>)
It sets the fields to be included in the edit dialog in gantt
Declaration
public GanttPropertiesBuilder EditDialogFields(List<EditDialogField> editDialogFields)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<EditDialogField> | editDialogFields | It accepts the list of fields to be included in the edit dialog |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | the fields to be included in the edit dialog in gantt |
EditSettings(GanttEditOptions)
It sets the editSettings options in gantt.
Declaration
public GanttPropertiesBuilder EditSettings(GanttEditOptions editSettings)
Parameters
Type | Name | Description |
---|---|---|
GanttEditOptions | editSettings | It accepts the edit options value |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EditSettings(Action<GanttEditOptionsBuilder>)
It sets the editSettings options in gantt.
Declaration
public GanttPropertiesBuilder EditSettings(Action<GanttEditOptionsBuilder> editSettings)
Parameters
Type | Name | Description |
---|---|---|
System.Action<GanttEditOptionsBuilder> | editSettings | It accepts the edit options value |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableAltRow()
It disables the alternative row effect in gantt
Declaration
public GanttPropertiesBuilder EnableAltRow()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableAltRow(Boolean)
It sets the enables or disables alternative row effect in gantt
Declaration
public GanttPropertiesBuilder EnableAltRow(bool altRow)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | altRow | It accepts the boolean value and enables/disables the alternative row effect |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableCollapseAll()
It disables the collapse all records when loading the gantt
Declaration
public GanttPropertiesBuilder EnableCollapseAll()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder |
EnableCollapseAll(Boolean)
It set the enables or disables the collapse all records when loading the gantt.
Declaration
public GanttPropertiesBuilder EnableCollapseAll(bool enableCollapseAll)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableCollapseAll | It accepts the boolean value and enables/disables the collapse all records when loading the gantt |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableContextMenu()
It enables the context menu for gantt
Declaration
public GanttPropertiesBuilder EnableContextMenu()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableContextMenu(Boolean)
It sets the enables or disables the context menu for gantt.
Declaration
public GanttPropertiesBuilder EnableContextMenu(bool enableContextMenu)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableContextMenu | It accepts the boolean value and enables/disables the context menu |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnablePredecessorValidation()
It enables the validation for predecessors rendering
Declaration
public GanttPropertiesBuilder EnablePredecessorValidation()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnablePredecessorValidation(Boolean)
It sets the enables/disables validation for predecessors rendering.
Declaration
public GanttPropertiesBuilder EnablePredecessorValidation(bool enablePredecessorValidation)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enablePredecessorValidation | It accepts boolean value and enables/disables the predecessor validation |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableProgressBarResizing()
It enables the progressbar editing in gantt.
Declaration
public GanttPropertiesBuilder EnableProgressBarResizing()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableProgressBarResizing(Boolean)
It sets the enables or disables the progress bar editing in gantt.
Declaration
public GanttPropertiesBuilder EnableProgressBarResizing(bool enableProgressBarResizing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableProgressBarResizing | It accepts the boolean value and enables/disables the progress bar editing |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableResize()
It enables the option for dynamically updating the Gantt size on window resizing
Declaration
public GanttPropertiesBuilder EnableResize()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableResize(Boolean)
it sets the enables or disables the option for dynamically updating the Gantt size on window resizing
Declaration
public GanttPropertiesBuilder EnableResize(bool enableResize)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableResize | It accepts the boolean value and enables/disables the option for dynamically updating the Gantt size on window resizing |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableSerialNumber()
It enables the serial number column for gantt
Declaration
public GanttPropertiesBuilder EnableSerialNumber()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableSerialNumber(Boolean)
It sets the enables or disables Serial number column for Gantt
Declaration
public GanttPropertiesBuilder EnableSerialNumber(bool enableSerialNumber)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableSerialNumber | It accepts the boolean value and enables/disables the serial number |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableTaskbarDragTooltip()
It enables tooltip while editing (dragging/resizing) the taskbar
Declaration
public GanttPropertiesBuilder EnableTaskbarDragTooltip()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableTaskbarDragTooltip(Boolean)
It sets the enables or disables tooltip while editing (dragging/resizing) the taskbar
Declaration
public GanttPropertiesBuilder EnableTaskbarDragTooltip(bool showTaskbarDragTooltip)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showTaskbarDragTooltip | It accepts the boolean value and enables/disables the tooltip while editing the taskbar |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableTaskbarTooltip()
It enables tooltip for taskbar
Declaration
public GanttPropertiesBuilder EnableTaskbarTooltip()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableTaskbarTooltip(Boolean)
It enables or disables tooltip for taskbar
Declaration
public GanttPropertiesBuilder EnableTaskbarTooltip(bool enableTaskbarTooltip)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableTaskbarTooltip | It accepts the boolean value and enables/disables the taskbar tooltip |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableVirtualization()
It enables virtualization for rendering gantt items
Declaration
public GanttPropertiesBuilder EnableVirtualization()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableVirtualization(Boolean)
It sets the Enables or disables virtualization for rendering gantt items
Declaration
public GanttPropertiesBuilder EnableVirtualization(bool enableVirtualization)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableVirtualization | It accepts the boolean value and enables/disables the virtualization rendering |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableWBS()
It enables the WBS column for gantt
Declaration
public GanttPropertiesBuilder EnableWBS()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableWBS(Boolean)
It sets the Enables/Disables WBS column for Gantt
Declaration
public GanttPropertiesBuilder EnableWBS(bool enableWBS)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableWBS | It accepts the boolean value and enables/disables the WBS column |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableWBSPredecessor()
It enables wBS predecessor column for gantt
Declaration
public GanttPropertiesBuilder EnableWBSPredecessor()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EnableWBSPredecessor(Boolean)
It set the enables/disables WBS Predecessor column for Gantt.
Declaration
public GanttPropertiesBuilder EnableWBSPredecessor(bool enableWBSPredecessor)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableWBSPredecessor | It accepts boolean value and enables/disables the WBS predecessor |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
EndDateMapping(String)
It sets the mapping property path for end Date of a task in datasource
Declaration
public GanttPropertiesBuilder EndDateMapping(string endDateMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | endDateMapping | It accepts the mapping property for end date |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ExpandStateMapping(String)
It sets the mapping property path for expand status of parent row in datasource
Declaration
public GanttPropertiesBuilder ExpandStateMapping(string expandStateMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | expandStateMapping | It accepts the mapping property for expand status |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
FilterSettings(GanttFilterSettings)
It sets the Options for filtering and customizing filter actions
Declaration
public GanttPropertiesBuilder FilterSettings(GanttFilterSettings filterOption)
Parameters
Type | Name | Description |
---|---|---|
GanttFilterSettings | filterOption | It accepts the column filter option |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
FilterSettings(Action<GanttFilterSettingsBuilder>)
It sets the Options for filtering and customizing filter actions
Declaration
public GanttPropertiesBuilder FilterSettings(Action<GanttFilterSettingsBuilder> filterOption)
Parameters
Type | Name | Description |
---|---|---|
System.Action<GanttFilterSettingsBuilder> | filterOption | It accepts the column filter option |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
GroupCollection(IEnumerable)
It sets the Collection of data regarding groups available in Gantt
Declaration
public GanttPropertiesBuilder GroupCollection(IEnumerable groupCollection)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | groupCollection | It accepts the collectin of data |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
GroupCollection(Object)
It sets the Collection of data regarding groups available in Gantt
Declaration
public GanttPropertiesBuilder GroupCollection(object groupCollection)
Parameters
Type | Name | Description |
---|---|---|
System.Object | groupCollection | It accepts the collectin of data |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
GroupIdMapping(String)
It sets the mapping property path for id of group in datasource
Declaration
public GanttPropertiesBuilder GroupIdMapping(string groupIdMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | groupIdMapping | It accepts the mapping property of group id |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
GroupNameMapping(String)
It sets the mapping property path for name of group in datasource
Declaration
public GanttPropertiesBuilder GroupNameMapping(string groupNameMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | groupNameMapping | It accepts the mapping property for name of group |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
HighlightNonWorkingTime()
It disables the working/nonworking hours highlight in gantt
Declaration
public GanttPropertiesBuilder HighlightNonWorkingTime()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder |
HighlightNonWorkingTime(Boolean)
It sets the enables or disables the working/nonworking hours highlight in gantt
Declaration
public GanttPropertiesBuilder HighlightNonWorkingTime(bool highlightNonWorkingTime)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | highlightNonWorkingTime | It accepts the boolean value and enables/disables the highlighting working/nonworking hours |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
HighlightWeekends()
It enables the weekends highlight
Declaration
public GanttPropertiesBuilder HighlightWeekends()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
HighlightWeekends(Boolean)
It sets enables or disables the weekeends highlight
Declaration
public GanttPropertiesBuilder HighlightWeekends(bool highlightWeekends)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | highlightWeekends | It accepts the boolean value and enables/disables the weekends hightlight |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
Holidays(Action<HolidaysBuilder>)
It set the Collection of holidays with date, background and label information to be displayed in gantt
Declaration
public GanttPropertiesBuilder Holidays(Action<HolidaysBuilder> holidays)
Parameters
Type | Name | Description |
---|---|---|
System.Action<HolidaysBuilder> | holidays | It accepts the collection of holidays detail |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
Holidays(List<Holiday>)
It set the Collection of holidays with date, background and label information to be displayed in gantt
Declaration
public GanttPropertiesBuilder Holidays(List<Holiday> holidays)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<Holiday> | holidays | It accepts the collection of holidays detail |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
IncludeWeekend()
It enables the inclusion of weekends while calculating the duration of a task.
Declaration
public GanttPropertiesBuilder IncludeWeekend()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
IncludeWeekend(Boolean)
It sets whether to include weekends while calculating the duration of a task.
Declaration
public GanttPropertiesBuilder IncludeWeekend(bool IncludeWeekend)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | IncludeWeekend | It accepts the boolean value and set whether to include weekends or not for calculating task duration |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
IsResponsive()
It enables the option for dynamically updating the Gantt size on window resizing
Declaration
public GanttPropertiesBuilder IsResponsive()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
IsResponsive(Boolean)
It sets the enables or disables the option for dynamically updating the Gantt size on window resizing
Declaration
public GanttPropertiesBuilder IsResponsive(bool isResponsive)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isResponsive | It accepts the boolean value and enables/disables the dynamically updating the Gantt size on window resizing |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
LeftTaskLabelMapping(String)
It sets the mapping property to display value in left side of taskbar
Declaration
public GanttPropertiesBuilder LeftTaskLabelMapping(string leftTaskLabelMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | leftTaskLabelMapping | It accepts the left task label mapping as string |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
LeftTaskLabelTemplate(String)
It sets the template of left task label in gantt.
Declaration
public GanttPropertiesBuilder LeftTaskLabelTemplate(string leftTaskLabelTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.String | leftTaskLabelTemplate | It accepts the string value and set the left task label template |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
Locale(String)
It sets the locale for gantt
Declaration
public GanttPropertiesBuilder Locale(string localization)
Parameters
Type | Name | Description |
---|---|---|
System.String | localization | It acceps the locale value as string |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
Mappers(Action<GanttMappersBuilder>)
It sets the method name to handle the excel and PDF export
Declaration
public GanttPropertiesBuilder Mappers(Action<GanttMappersBuilder> mapper)
Parameters
Type | Name | Description |
---|---|---|
System.Action<GanttMappersBuilder> | mapper |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder |
MilestoneMapping(String)
It sets the mapping property path for milestone in datasource
Declaration
public GanttPropertiesBuilder MilestoneMapping(string milestoneMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | milestoneMapping | It accepts the mapping property for milestone |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
MilestoneTemplate(String)
It sets the template id or template string for milestone.
Declaration
public GanttPropertiesBuilder MilestoneTemplate(string milestoneTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.String | milestoneTemplate | It accepts the milestone template id or template string value |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
NonWorkingBackground(String)
It sets the non working hour background color in gantt
Declaration
public GanttPropertiesBuilder NonWorkingBackground(string nonWorkingBackground)
Parameters
Type | Name | Description |
---|---|---|
System.String | nonWorkingBackground | It accepts the string value and set the background color for non-working hours |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
NotesMapping(String)
It set the mapping property for notes of the task
Declaration
public GanttPropertiesBuilder NotesMapping(string notesMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | notesMapping | It accepts the mapping property for notes |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ParentProgressbarBackground(String)
It sets the background of parent progressbar in gantt
Declaration
public GanttPropertiesBuilder ParentProgressbarBackground(string parentProgressbarBackground)
Parameters
Type | Name | Description |
---|---|---|
System.String | parentProgressbarBackground | It accepts the parent taskbar background color as string |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ParentTaskbarBackground(String)
It sets the background of parent taskbar in gantt
Declaration
public GanttPropertiesBuilder ParentTaskbarBackground(string parentTaskbarBackground)
Parameters
Type | Name | Description |
---|---|---|
System.String | parentTaskbarBackground | It accepts the parent taskbar background color as string |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ParentTaskbarTemplate(String)
It sets the template id or template string for parent taskbar.
Declaration
public GanttPropertiesBuilder ParentTaskbarTemplate(string parentTaskbarTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.String | parentTaskbarTemplate | It accepts the parent taskbar template id or template string value |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ParentTaskIdMapping(String)
It sets the mapping property path for parent task Id in selfreference datasource
Declaration
public GanttPropertiesBuilder ParentTaskIdMapping(string parentTaskIdMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | parentTaskIdMapping | It accepts the mapping property for parent task id |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
PredecessorMapping(String)
It sets the mapping property path for predecessors of a task in datasource
Declaration
public GanttPropertiesBuilder PredecessorMapping(string predecessorMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | predecessorMapping | It accepts the mapping property for predecessors |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
PredecessorTooltipTemplate(String)
It set the JS render template id or template script for predecessor tooltip on mouse action
Declaration
public GanttPropertiesBuilder PredecessorTooltipTemplate(string predecessorTooltipTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.String | predecessorTooltipTemplate | It accepts the template id or template for predecessor tooltip |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ProgressbarBackground(String)
It sets the background color of progressbar in gantt
Declaration
public GanttPropertiesBuilder ProgressbarBackground(string progressbarBackground)
Parameters
Type | Name | Description |
---|---|---|
System.String | progressbarBackground |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ProgressbarHeight(Int32)
It sets the height of the progressbar in taskbar
Declaration
public GanttPropertiesBuilder ProgressbarHeight(int progressbarHeight)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | progressbarHeight | It accepts the integer value and set the progress bar height |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ProgressbarTooltipTemplate(String)
It sets the template for tooltip on resizing progressbar
Declaration
public GanttPropertiesBuilder ProgressbarTooltipTemplate(string progressbarTooltipTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.String | progressbarTooltipTemplate | It accepts the progress bar tooltip template as string |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ProgressbarTooltipTemplateId(String)
It sets the template ID for customized tooltip for progressbar editing in gantt
Declaration
public GanttPropertiesBuilder ProgressbarTooltipTemplateId(string progressbarTooltipTemplateId)
Parameters
Type | Name | Description |
---|---|---|
System.String | progressbarTooltipTemplateId | It accepts the id of progressbar tooltip template |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ProgressMapping(String)
It sets the mapping property path for progress percentage of a task in datasource
Declaration
public GanttPropertiesBuilder ProgressMapping(string progressMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | progressMapping | It accepts the mapping property for progress |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
Query(String)
It sets the query to retrieve data from the table (query is same as SQL).
Declaration
public GanttPropertiesBuilder Query(string query)
Parameters
Type | Name | Description |
---|---|---|
System.String | query | It accepts the string value to retrieve data from data base |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
QueryCellInfo(String)
Triggered while rendering each cell in the gantt
Declaration
public GanttPropertiesBuilder QueryCellInfo(string queryCellInfo)
Parameters
Type | Name | Description |
---|---|---|
System.String | queryCellInfo | It accepts the string value and return the column data |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
QueryTaskbarInfo(String)
Triggered while rendering each taskbar in the gantt chart
Declaration
public GanttPropertiesBuilder QueryTaskbarInfo(string queryTaskbarInfo)
Parameters
Type | Name | Description |
---|---|---|
System.String | queryTaskbarInfo | It accepts the string value and return the data of the record |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ReadOnly()
It disables the gantt editing operations
Declaration
public GanttPropertiesBuilder ReadOnly()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ReadOnly(Boolean)
It sets the enables or disables the gantt editing operations
Declaration
public GanttPropertiesBuilder ReadOnly(bool readOnly)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | readOnly | It accepts the boolean value and enables/disabels the gantt editing operations |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
Render()
Declaration
public void Render()
RenderBaseline()
It disable the baseline in gantt.
Declaration
public GanttPropertiesBuilder RenderBaseline()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
RenderBaseline(Boolean)
It sets the enables or disables rendering baselines in Gantt
Declaration
public GanttPropertiesBuilder RenderBaseline(bool renderBaseline)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | renderBaseline | It accepts the boolean value and enables/disables the baseline in gantt |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ResourceCollectionMapping(String)
It sets the mapping property path for resource collection of group in datasource.
Declaration
public GanttPropertiesBuilder ResourceCollectionMapping(string resourceCollectionMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | resourceCollectionMapping | It accepts the mapping property for resource collection |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ResourceIdMapping(String)
It sets the mapping property name for resource ID in resource Collection in gantt
Declaration
public GanttPropertiesBuilder ResourceIdMapping(string resourceIdMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | resourceIdMapping | It accpets the mapping property name for resource ID |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ResourceInfoMapping(String)
It sets the mapping property path for resources of a task in datasource
Declaration
public GanttPropertiesBuilder ResourceInfoMapping(string resourceInfoMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | resourceInfoMapping | It accepts the mapping property for resource |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ResourceNameMapping(String)
It sets the mapping property path for resource name of a task in gantt
Declaration
public GanttPropertiesBuilder ResourceNameMapping(string resourceNameMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | resourceNameMapping | It accepts the mapping property for resource name |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
Resources(IEnumerable)
It sets the Collection of data regarding resources involved in entire project
Declaration
public GanttPropertiesBuilder Resources(IEnumerable resources)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | resources | It accepts the collection of resource data |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
Resources(Object)
It sets the Collection of data regarding resources involved in entire project
Declaration
public GanttPropertiesBuilder Resources(object resources)
Parameters
Type | Name | Description |
---|---|---|
System.Object | resources | It accepts the collection of resource data |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ResourceUnitMapping(String)
It sets the mapping for every defined resources unit
Declaration
public GanttPropertiesBuilder ResourceUnitMapping(string resourceUnitMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | resourceUnitMapping |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
RightTaskLabelMapping(String)
It sets the mapping property to display value in right side of taskbar
Declaration
public GanttPropertiesBuilder RightTaskLabelMapping(string rightTaskLabelMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | rightTaskLabelMapping | It accepts the right task label mapping as string |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
RightTaskLabelTemplate(String)
It sets the template of right task label in gantt.
Declaration
public GanttPropertiesBuilder RightTaskLabelTemplate(string rightTaskLabelTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.String | rightTaskLabelTemplate | It accepts the string value and set the right task label template |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
RoundOffDayworkingTime()
It enables the rounding off the day working time edits
Declaration
public GanttPropertiesBuilder RoundOffDayworkingTime()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
RoundOffDayworkingTime(Boolean)
It sets the whether rounding off the day working time edits
Declaration
public GanttPropertiesBuilder RoundOffDayworkingTime(bool roundOffDayworkingTime)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | roundOffDayworkingTime | It accepts boolean value and enables/disables the rounding off the day working time |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
RowDataBound(String)
Triggered every time a request is made to access row information, element and data.
Declaration
public GanttPropertiesBuilder RowDataBound(string rowDataBound)
Parameters
Type | Name | Description |
---|---|---|
System.String | rowDataBound |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
RowHeight(Int32)
It sets the height of a single row in gantt.
Declaration
public GanttPropertiesBuilder RowHeight(int rowHeight)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowHeight | It accepts the row height as integer |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ScheduleEndDate(String)
It sets the end date of the gantt schedule. By default, end date will be rounded to its next Saturday.
Declaration
public GanttPropertiesBuilder ScheduleEndDate(string scheduleEndDate)
Parameters
Type | Name | Description |
---|---|---|
System.String | scheduleEndDate | It accepts the schedule end date as string |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ScheduleHeaderSettings(ScheduleHeaderSettings)
It sets the options for customizing schedule header.
Declaration
public GanttPropertiesBuilder ScheduleHeaderSettings(ScheduleHeaderSettings scheduleHeaderOption)
Parameters
Type | Name | Description |
---|---|---|
ScheduleHeaderSettings | scheduleHeaderOption | It accepts the schudule header customization values |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ScheduleHeaderSettings(Action<ScheduleHeaderOptionsBuilder>)
It sets the options for customizing schedule header.
Declaration
public GanttPropertiesBuilder ScheduleHeaderSettings(Action<ScheduleHeaderOptionsBuilder> scheduleHeaderOption)
Parameters
Type | Name | Description |
---|---|---|
System.Action<ScheduleHeaderOptionsBuilder> | scheduleHeaderOption | It accepts the schudule header customization values |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ScheduleStartDate(String)
It sets the start date of the gantt schedule. By default, start date will be rounded to its previous Sunday.
Declaration
public GanttPropertiesBuilder ScheduleStartDate(string scheduleStartDate)
Parameters
Type | Name | Description |
---|---|---|
System.String | scheduleStartDate | It accepts the schedule start date as string |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
SelectedCellIndexes(Action<SelectedCellIndexPropertyBuilder>)
It set the cell indexes of the gantt which is highlighted in load time.
Declaration
public GanttPropertiesBuilder SelectedCellIndexes(Action<SelectedCellIndexPropertyBuilder> selectedCellIndexes)
Parameters
Type | Name | Description |
---|---|---|
System.Action<SelectedCellIndexPropertyBuilder> | selectedCellIndexes | It accepts the list of selected cell details |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
SelectedCellIndexes(List<SelectedCellIndex>)
It set the cell indexes of the gantt which is highlighted in load time.
Declaration
public GanttPropertiesBuilder SelectedCellIndexes(List<SelectedCellIndex> selectedCellIndexes)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<SelectedCellIndex> | selectedCellIndexes | It accepts the list of selected cell details |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
SelectedRowIndex(Int32)
It sets the selected row Index in gantt , the row with given index will highlighted
Declaration
public GanttPropertiesBuilder SelectedRowIndex(int selectedRowIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | selectedRowIndex | It accepts the index of selected row |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
SelectionMode(GanttSelectionMode)
It sets the selection mode of the Gantt.
Declaration
public GanttPropertiesBuilder SelectionMode(GanttSelectionMode selectionMode)
Parameters
Type | Name | Description |
---|---|---|
GanttSelectionMode | selectionMode | It accepts the type of selection mode |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
SelectionType(GanttSelectionType)
It sets the selection type for the cell selection
Declaration
public GanttPropertiesBuilder SelectionType(GanttSelectionType selectionType)
Parameters
Type | Name | Description |
---|---|---|
GanttSelectionType | selectionType | It accepts the type of cell selection |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ShowColumnChooser()
It enables the column chooser for gantt columns
Declaration
public GanttPropertiesBuilder ShowColumnChooser()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ShowColumnChooser(Boolean)
It sets the enables or disables the column chooser for gantt columns.
Declaration
public GanttPropertiesBuilder ShowColumnChooser(bool showColumnChooser)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showColumnChooser | It accepts the boolean value and enables/disables the column chooser |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ShowColumnOptions()
It enables the column options for gantt columns
Declaration
public GanttPropertiesBuilder ShowColumnOptions()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ShowColumnOptions(Boolean)
It sets the enables or disables the column options.
Declaration
public GanttPropertiesBuilder ShowColumnOptions(bool showColumnOptions)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showColumnOptions | It accepts the boolean value and enables/disables the column options |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ShowGridCellTooltip()
It disables the grid cell tooltip
Declaration
public GanttPropertiesBuilder ShowGridCellTooltip()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ShowGridCellTooltip(Boolean)
It sets the enables/disables the grid cell tooltip.
Declaration
public GanttPropertiesBuilder ShowGridCellTooltip(bool showGridCellTooltip)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showGridCellTooltip | It accepts the boolean value and enables/disables the grid cell tooltip |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ShowGridExpandCellTooltip()
It disable the grid cell tooltip over expander cell alone
Declaration
public GanttPropertiesBuilder ShowGridExpandCellTooltip()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ShowGridExpandCellTooltip(Boolean)
It sets the enables/disables grid cell tooltip over expander cell alone.
Declaration
public GanttPropertiesBuilder ShowGridExpandCellTooltip(bool showGridExpandCellTooltip)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showGridExpandCellTooltip | It accepts the boolean value and enables/disables the grid cell tooltip |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ShowProgressStatus()
It enables the displaying task progress inside taskbar
Declaration
public GanttPropertiesBuilder ShowProgressStatus()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ShowProgressStatus(Boolean)
It sets the enables or disables the displaying task progress inside taskbar
Declaration
public GanttPropertiesBuilder ShowProgressStatus(bool showProgressStatus)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showProgressStatus | It accepts the boolean value and enables/disables the displyaing task progress inside taskbar |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ShowResourceNames()
It enables the displaying resource names for a task beside taskbar
Declaration
public GanttPropertiesBuilder ShowResourceNames()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ShowResourceNames(Boolean)
It sets the enables or disables the displaying resource names for a task beside taskbar
Declaration
public GanttPropertiesBuilder ShowResourceNames(bool showResourceNames)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showResourceNames | It accepts the boolean value and enables/disables the showing resource name for a task |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ShowTaskNames()
It enable the task name beside the task bar
Declaration
public GanttPropertiesBuilder ShowTaskNames()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ShowTaskNames(Boolean)
It sets the enables or disables the task name beside the task bar
Declaration
public GanttPropertiesBuilder ShowTaskNames(bool showTaskNames)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showTaskNames | It accepts the boolean value and enables/disables the task name beside the task bar |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
SizeSettings(SizeSettings)
It set the size option of gantt control.
Declaration
public GanttPropertiesBuilder SizeSettings(SizeSettings sizeOption)
Parameters
Type | Name | Description |
---|---|---|
SizeSettings | sizeOption | It accepts the height and width value |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
SizeSettings(Action<SizeOptionsBuilder>)
It set the size option of gantt control.
Declaration
public GanttPropertiesBuilder SizeSettings(Action<SizeOptionsBuilder> sizeOption)
Parameters
Type | Name | Description |
---|---|---|
System.Action<SizeOptionsBuilder> | sizeOption | It accepts the height and width value |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
SortSettings(GanttSortSettings)
It sets the sorting options for gantt
Declaration
public GanttPropertiesBuilder SortSettings(GanttSortSettings sortSettingsOption)
Parameters
Type | Name | Description |
---|---|---|
GanttSortSettings | sortSettingsOption | It accepts the sorting settings options value |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
SortSettings(Action<SortSettingsOptionsBuilder>)
It sets the sorting options for gantt
Declaration
public GanttPropertiesBuilder SortSettings(Action<SortSettingsOptionsBuilder> sortSettingsOption)
Parameters
Type | Name | Description |
---|---|---|
System.Action<SortSettingsOptionsBuilder> | sortSettingsOption | It accepts the sorting settings options value |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
SplitterPosition(String)
It sets the splitter position in gantt.
Declaration
public GanttPropertiesBuilder SplitterPosition(string splitterPosition)
Parameters
Type | Name | Description |
---|---|---|
System.String | splitterPosition | It accepts the splitter postion as string |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
SplitterSettings(SplitterSettings)
It sets the splitter position in gantt.
Declaration
public GanttPropertiesBuilder SplitterSettings(SplitterSettings splitterOption)
Parameters
Type | Name | Description |
---|---|---|
SplitterSettings | splitterOption | It accepts the splitter position customization |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
SplitterSettings(Action<SplitterSettingsBuilder>)
It sets the splitter position in gantt.
Declaration
public GanttPropertiesBuilder SplitterSettings(Action<SplitterSettingsBuilder> splitterOption)
Parameters
Type | Name | Description |
---|---|---|
System.Action<SplitterSettingsBuilder> | splitterOption | It accepts the splitter position customization |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
StartDateMapping(String)
It sets the mapping property path for start date of a task in datasource
Declaration
public GanttPropertiesBuilder StartDateMapping(string startDateMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | startDateMapping | It accepts the mapping property for start date |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
StripLines(Action<StripLinesBuilder>)
It sets the list of strip line details to gantt
Declaration
public GanttPropertiesBuilder StripLines(Action<StripLinesBuilder> stripLines)
Parameters
Type | Name | Description |
---|---|---|
System.Action<StripLinesBuilder> | stripLines | It accepts the list of strip line details |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder |
StripLines(List<GanttStripLine>)
It sets the list of strip line details to gantt
Declaration
public GanttPropertiesBuilder StripLines(List<GanttStripLine> stripLines)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<GanttStripLine> | stripLines | It accepts the list of strip line details |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder |
TaskbarBackground(String)
It sets the background of the taskbar in gantt
Declaration
public GanttPropertiesBuilder TaskbarBackground(string taskbarBackground)
Parameters
Type | Name | Description |
---|---|---|
System.String | taskbarBackground | It accepts the background color of the task bar as string |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
TaskbarEditingTooltipTemplate(String)
It sets the template script for customized tooltip for taskbar editing in gantt
Declaration
public GanttPropertiesBuilder TaskbarEditingTooltipTemplate(string taskbarEditingTooltipTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.String | taskbarEditingTooltipTemplate | It accepts taskbar editing tooltip template as string |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
TaskbarEditingTooltipTemplateId(String)
It sets the template Id for customized tooltip for taskbar editing in gantt
Declaration
public GanttPropertiesBuilder TaskbarEditingTooltipTemplateId(string taskbarEditingTooltipTemplateId)
Parameters
Type | Name | Description |
---|---|---|
System.String | taskbarEditingTooltipTemplateId | It accepts the id of task bard editing tooltip template |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
TaskbarHeight(Int32)
It sets the height of a taskbar in gantt chart
Declaration
public GanttPropertiesBuilder TaskbarHeight(int taskbarHeight)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | taskbarHeight | It accepts the taskbar height as integer |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
TaskbarTemplate(String)
It sets the template id or template string for child taskbar.
Declaration
public GanttPropertiesBuilder TaskbarTemplate(string taskbarTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.String | taskbarTemplate | It accepts the taskbar template id or template string value |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
TaskbarTooltipTemplate(String)
It sets the template for tooltip on mouseaction on taskbars
Declaration
public GanttPropertiesBuilder TaskbarTooltipTemplate(string taskbarTooltipTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.String | taskbarTooltipTemplate | It accepts the taskbar tooltip template as string |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
TaskbarTooltipTemplateId(String)
It sets the template id for tooltip on mouseaction on taskbars
Declaration
public GanttPropertiesBuilder TaskbarTooltipTemplateId(string taskbarTooltipTemplateId)
Parameters
Type | Name | Description |
---|---|---|
System.String | taskbarTooltipTemplateId | It accepts the id of taskbar tooltip template |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
TaskCollectionMapping(String)
It sets the mapping property path for task collection of resources in datasource.
Declaration
public GanttPropertiesBuilder TaskCollectionMapping(string taskCollectionMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | taskCollectionMapping | It accepts the task collection of resources |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
TaskIdMapping(String)
It sets the mapping property path for task Id in datasource
Declaration
public GanttPropertiesBuilder TaskIdMapping(string taskIdMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | taskIdMapping | It accepts the mapping property for task id |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
TaskNameMapping(String)
It sets the mapping property path for task name in datasource
Declaration
public GanttPropertiesBuilder TaskNameMapping(string taskNameMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | taskNameMapping | It accepts the mapping property for task name |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
TaskSchedulingMode(GanttTaskSchedulingMode)
It set the scheduling mode for the gantt task
Declaration
public GanttPropertiesBuilder TaskSchedulingMode(GanttTaskSchedulingMode taskSchedulingMode)
Parameters
Type | Name | Description |
---|---|---|
GanttTaskSchedulingMode | taskSchedulingMode | IT accepts the type of scheduling mode |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
TaskSchedulingModeMapping(String)
It sets the mapping property path for task Scheduling Mode in datasource
Declaration
public GanttPropertiesBuilder TaskSchedulingModeMapping(string taskSchedulingModeMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | taskSchedulingModeMapping | It accepts the mapping property for task scheduling mode |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
TaskType(GanttTaskType)
It sets the default calculation type for a project.
Declaration
public GanttPropertiesBuilder TaskType(GanttTaskType taskType)
Parameters
Type | Name | Description |
---|---|---|
GanttTaskType | taskType | It accepts the type of task |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ToHtmlString()
Declaration
public string ToHtmlString()
Returns
Type | Description |
---|---|
System.String |
ToolbarSettings(ToolBarOptions)
It sets the list of toolbar item for gantt.
Declaration
public GanttPropertiesBuilder ToolbarSettings(ToolBarOptions toolBarOption)
Parameters
Type | Name | Description |
---|---|---|
ToolBarOptions | toolBarOption | It accepts the list of toolbar item |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ToolbarSettings(Action<ToolBarOptionsBuilder>)
It sets the list of toolbar item for gantt.
Declaration
public GanttPropertiesBuilder ToolbarSettings(Action<ToolBarOptionsBuilder> toolBarOption)
Parameters
Type | Name | Description |
---|---|---|
System.Action<ToolBarOptionsBuilder> | toolBarOption | It accepts the list of toolbar item |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
TreeColumnIndex(Int32)
It sets the tree expander column in gantt
Declaration
public GanttPropertiesBuilder TreeColumnIndex(int treeColumnIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | treeColumnIndex | It accepts the column index |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ValidateManualTasksOnLinking()
It disables the Manual taskbar predecessor validation
Declaration
public GanttPropertiesBuilder ValidateManualTasksOnLinking()
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ValidateManualTasksOnLinking(Boolean)
It sets the enables or disables the Manual taskbar predecessor validation
Declaration
public GanttPropertiesBuilder ValidateManualTasksOnLinking(bool validateManualTasksOnLinking)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | validateManualTasksOnLinking | It accepts the boolean value and enables/disables the predecessor validation |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
ViewType(GanttViewType)
It sets the type of view in Gantt control
Declaration
public GanttPropertiesBuilder ViewType(GanttViewType viewType)
Parameters
Type | Name | Description |
---|---|---|
GanttViewType | viewType | It accepts the type of view in gantt. |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
WeekendBackground(String)
It sets the weekend back ground color in gantt
Declaration
public GanttPropertiesBuilder WeekendBackground(string weekendBackground)
Parameters
Type | Name | Description |
---|---|---|
System.String | weekendBackground | It accepts the string value and set the weekend back ground color |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
WorkingTimeScale(GanttWorkingTimeScale)
It sets the working time schedule of day
Declaration
public GanttPropertiesBuilder WorkingTimeScale(GanttWorkingTimeScale workingTimeScale)
Parameters
Type | Name | Description |
---|---|---|
GanttWorkingTimeScale | workingTimeScale | It accepts the type of working time scale |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
WorkMapping(String)
It sets the mapping property path for work of a task in datasource
Declaration
public GanttPropertiesBuilder WorkMapping(string workMapping)
Parameters
Type | Name | Description |
---|---|---|
System.String | workMapping | It accepts the mapping property for work of a task |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
WorkUnit(GanttWorkUnit)
It sets the work unit for each tasks whether days or hours
Declaration
public GanttPropertiesBuilder WorkUnit(GanttWorkUnit workUnit)
Parameters
Type | Name | Description |
---|---|---|
GanttWorkUnit | workUnit | It accepts the type of work unit |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |
WorkWeek(List<String>)
It sets the work week for gantt
Declaration
public GanttPropertiesBuilder WorkWeek(List<string> workWeek)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.String> | workWeek | It accepts the list of work week |
Returns
Type | Description |
---|---|
GanttPropertiesBuilder | GanttPropertiesBuilder |