Interface IGantt
Interface for SfGantt component.
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.dll
Syntax
public interface IGantt : IBaseComponent
Properties
AddDialogFields
Defines the tabs and fields to be included in the add dialog.
Declaration
List<GanttAddDialogField> AddDialogFields { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<GanttAddDialogField> |
AllowExcelExport
To enable export feature in Gantt
Declaration
bool AllowExcelExport { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowFiltering
To enable filtering feature in Gantt
Declaration
bool AllowFiltering { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowKeyboard
To enable keynavigation feature in Gantt
Declaration
bool AllowKeyboard { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowPdfExport
To enable pdf export feature in Gantt
Declaration
bool AllowPdfExport { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowReordering
To enable column reordering feature in Gantt
Declaration
bool AllowReordering { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowResizing
To enable column resizing feature in Gantt
Declaration
bool AllowResizing { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowRowDragAndDrop
To enable rowdrag and drop feature in Gantt
Declaration
bool AllowRowDragAndDrop { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowSelection
To enable selection feature in Gantt
Declaration
bool AllowSelection { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowSorting
To enable sorting feature in Gantt
Declaration
bool AllowSorting { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowUnscheduledTasks
To enable unscheduled tasks feature in Gantt
Declaration
bool AllowUnscheduledTasks { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AutoFocusTasks
To enable auto task focus in Gantt
Declaration
bool AutoFocusTasks { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
BaselineColor
To enable baseline feature in Gantt
Declaration
string BaselineColor { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CollapseAllParentTasks
To collaspe all the parent items during load time in Gantt
Declaration
bool CollapseAllParentTasks { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ColumnMenuItems
To enable column menu items feature in Gantt
Declaration
object ColumnMenuItems { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Columns
To set columns collections in Gantt
Declaration
object Columns { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
ConnectorLineBackground
To set connector line background in Gantt
Declaration
string ConnectorLineBackground { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ConnectorLineWidth
To set connector line width in Gantt
Declaration
int ConnectorLineWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ContextMenuItems
To bind context menu items in Gantt
Declaration
object ContextMenuItems { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
DateFormat
To set date format in Gantt
Declaration
string DateFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DayWorkingTime
Defines customized working time of project.
Declaration
List<GanttDayWorkingTime> DayWorkingTime { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<GanttDayWorkingTime> |
DisableHtmlEncode
To enable or disble html encode in Gantt columns
Declaration
bool DisableHtmlEncode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DurationUnit
To set duration unit in Gantt
Declaration
DurationUnit DurationUnit { get; set; }
Property Value
Type | Description |
---|---|
DurationUnit |
EditDialogFields
Defines the tabs and fields to be included in the edit dialog.
Declaration
List<GanttEditDialogField> EditDialogFields { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<GanttEditDialogField> |
EditSettings
To enable edit settings feature in Gantt
Declaration
GanttEditSettings EditSettings { get; set; }
Property Value
Type | Description |
---|---|
GanttEditSettings |
EnableContextMenu
To enable enable context menu feature in Gantt
Declaration
bool EnableContextMenu { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnablePersistence
To enable persistence feature in Gantt
Declaration
bool EnablePersistence { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnablePredecessorValidation
To enable predecessor validation in Gantt
Declaration
bool EnablePredecessorValidation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableRtl
To enable RTL support in Gantt
Declaration
bool EnableRtl { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EventMarkers
Defines events and status of project throughout the timeline.
Declaration
List<GanttEventMarker> EventMarkers { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<GanttEventMarker> |
FilterSettings
To enable filter settings feature in Gantt
Declaration
GanttFilterSettings FilterSettings { get; set; }
Property Value
Type | Description |
---|---|
GanttFilterSettings |
GanttTemplates
Defines Gantt templates.
Declaration
GanttTemplates GanttTemplates { get; set; }
Property Value
Type | Description |
---|---|
GanttTemplates |
GridLines
Configures the grid lines in tree grid and gantt chart.
Declaration
GridLine GridLines { get; set; }
Property Value
Type | Description |
---|---|
GridLine |
Height
Defines the height of the Gantt component container.
Declaration
string Height { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HighlightWeekends
To highlight weekends in Gantt timeline
Declaration
bool HighlightWeekends { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Holidays
To enable holidays in Gantt chart
Declaration
List<GanttHoliday> Holidays { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<GanttHoliday> |
IncludeWeekend
Defines weekend days are considered as working day or not.
Declaration
bool IncludeWeekend { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LabelSettings
Defines the right, left and inner task labels in task bar.
Declaration
GanttLabelSettings LabelSettings { get; set; }
Property Value
Type | Description |
---|---|
GanttLabelSettings |
Locale
Defines Gantt localization feature.
Declaration
string Locale { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MilestoneTemplate
The milestone template that renders customized milestone task from the given template.
Declaration
string MilestoneTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ParentTaskbarTemplate
The parent task bar template that renders customized parent task bars from the given template.
Declaration
string ParentTaskbarTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ProjectEndDate
Defines end date of the project, if projectEndDate
value not set then it will be calculated from data source.
Declaration
Nullable<DateTime> ProjectEndDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ProjectStartDate
Defines start date of the project, if projectStartDate
value not set then it will be calculated from data source.
Declaration
Nullable<DateTime> ProjectStartDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Query
Defines the external Query that will be executed along with data processing.
Declaration
Query Query { get; set; }
Property Value
Type | Description |
---|---|
Query |
RenderBaseline
If renderBaseline is set to true, then baselines are rendered for tasks.
Declaration
bool RenderBaseline { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ResourceFields
Defines mapping properties to find resource values such as id, name, unit and group from resource collection.
Declaration
GanttResourceFields ResourceFields { get; set; }
Property Value
Type | Description |
---|---|
GanttResourceFields |
ResourceIDMapping
If renderBaseline is set to true, then baselines are rendered for tasks.
Declaration
string ResourceIDMapping { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ResourceNameMapping
Defines mapping property to get resource id value from resource collection.
Declaration
string ResourceNameMapping { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Resources
Defines resource collection assigned for projects.
Declaration
object Resources { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
RowHeight
Defines height value for grid rows and chart rows in Gantt.
Declaration
int RowHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SearchSettings
Configures the search settings for Gantt.
Declaration
GanttSearchSettings SearchSettings { get; set; }
Property Value
Type | Description |
---|---|
GanttSearchSettings |
SelectedRowIndex
The selectedRowIndex allows you to select a row at initial rendering.
Declaration
int SelectedRowIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SelectionSettings
Configures the selection settings.
Declaration
GanttSelectionSettings SelectionSettings { get; set; }
Property Value
Type | Description |
---|---|
GanttSelectionSettings |
ShowColumnMenu
If showColumnMenu set to true, then it will enable the column menu options in each columns.
Declaration
bool ShowColumnMenu { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SortSettings
Configures the sort settings of the Gantt.
Declaration
GanttSortSettings SortSettings { get; set; }
Property Value
Type | Description |
---|---|
GanttSortSettings |
SplitterSettings
Configures the splitter settings of the Gantt.
Declaration
GanttSplitterSettings SplitterSettings { get; set; }
Property Value
Type | Description |
---|---|
GanttSplitterSettings |
TaskbarHeight
Defines height of taskbar element in Gantt.
Declaration
Nullable<int> TaskbarHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
TaskbarTemplate
The task bar template that renders customized child task bars from the given template.
Declaration
string TaskbarTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TaskFields
Defines mapping properties to find task values such as id, start date, end date, duration and progress values from data source.
Declaration
GanttTaskFields TaskFields { get; set; }
Property Value
Type | Description |
---|---|
GanttTaskFields |
TaskMode
Specifies task schedule mode for a project.
Declaration
ScheduleMode TaskMode { get; set; }
Property Value
Type | Description |
---|---|
ScheduleMode |
TaskType
Specifies the task type for task whether fixedUnit or fixedWork or fixedDuration.
Declaration
TaskType TaskType { get; set; }
Property Value
Type | Description |
---|---|
TaskType |
TimelineSettings
Configures timeline settings of Gantt.
Declaration
GanttTimelineSettings TimelineSettings { get; set; }
Property Value
Type | Description |
---|---|
GanttTimelineSettings |
Timezone
By default, task schedule dates are calculated with system time zone.If Gantt chart assigned with specific time zone, then schedule dates are calculated as given time zone date value
Declaration
string Timezone { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Toolbar
Defines the toolbar items of the Gantt.
Declaration
object Toolbar { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
TooltipSettings
Enables or disables default tooltip of Gantt element and defines customized tooltip for Gantt elements.
Declaration
GanttTooltipSettings TooltipSettings { get; set; }
Property Value
Type | Description |
---|---|
GanttTooltipSettings |
TreeColumnIndex
To define expander column index in Grid.
Declaration
int TreeColumnIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ValidateManualTasksOnLinking
It enables date validation while connecting manually scheduled tasks with predecessor
Declaration
bool ValidateManualTasksOnLinking { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ViewType
Defines the view type of the Gantt.
Declaration
ViewType ViewType { get; set; }
Property Value
Type | Description |
---|---|
ViewType |
Width
Defines the width of the Gantt component container.
Declaration
string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String |
WorkUnit
Specifies the work unit for each tasks whether day or hour or minute.
Declaration
WorkUnit WorkUnit { get; set; }
Property Value
Type | Description |
---|---|
WorkUnit |
WorkWeek
Defines workweek of project.
Declaration
string[] WorkWeek { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
Methods
updateChildProperties(String, Object)
To update Child Properties.
Declaration
void updateChildProperties(string key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.Object | value |