Interface IGantt
Interface for SfGantt component.
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.dll
Syntax
public interface IGantt
Properties
AddDialogFields
Defines the tabs and fields to be included in the add dialog.
Declaration
List<GanttAddDialogField> AddDialogFields { get; set; }
Property Value
| Type |
|---|
| List<GanttAddDialogField> |
AllowMultiSorting
Configures the AllowMultiSorting of the Gantt.
Declaration
bool AllowMultiSorting { get; set; }
Property Value
| Type |
|---|
| bool |
AllowSelection
To enable selection feature in Gantt.
Declaration
bool AllowSelection { get; set; }
Property Value
| Type |
|---|
| bool |
AllowSorting
Configures the AllowSorting of the Gantt.
Declaration
bool AllowSorting { get; set; }
Property Value
| Type |
|---|
| bool |
ColumnChooserSettings
Configures gantt Column chooser settings
Declaration
GanttColumnChooserSettings ColumnChooserSettings { get; set; }
Property Value
| Type |
|---|
| GanttColumnChooserSettings |
Columns
To set columns collections in Gantt.
Declaration
List<GanttColumn> Columns { get; set; }
Property Value
| Type |
|---|
| List<GanttColumn> |
CriticalSettings
Gets or sets an instance of CriticalSettings to configure the critical tasks behavior in Gantt.
Declaration
GanttCriticalPathSettings CriticalSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| GanttCriticalPathSettings | An instance of CriticalSettings. |
Remarks
Provides options to customize the critical path behavior.
Examples
<SfGantt @ref = "Gantt" DataSource="@TaskCollection">
<GanttCriticalPathSettings SlackValue="1">
</GanttCriticalPathSettings>
</SfGantt>
DateFormat
To set date format in Gantt.
Declaration
string DateFormat { get; set; }
Property Value
| Type |
|---|
| string |
DayWorkingTime
Defines customized working time of project.
Declaration
List<GanttDayWorkingTime> DayWorkingTime { get; set; }
Property Value
| Type |
|---|
| List<GanttDayWorkingTime> |
DurationUnit
To set duration unit in Gantt.
Declaration
DurationUnit DurationUnit { get; set; }
Property Value
| Type |
|---|
| DurationUnit |
EditDialogFields
Defines the tabs and fields to be included in the edit dialog.
Declaration
List<GanttEditDialogField> EditDialogFields { get; set; }
Property Value
| Type |
|---|
| List<GanttEditDialogField> |
EditSettings
Configures the edit settings.
Declaration
GanttEditSettings EditSettings { get; set; }
Property Value
| Type |
|---|
| GanttEditSettings |
EventMarkers
Defines Gantt EventMarker collection.
Declaration
List<GanttEventMarker> EventMarkers { get; set; }
Property Value
| Type |
|---|
| List<GanttEventMarker> |
FilterSettings
Configures the filter settings of the Gantt.
Declaration
GanttFilterSettings FilterSettings { get; set; }
Property Value
| Type |
|---|
| GanttFilterSettings |
GridLines
Configures the grid lines in tree grid and gantt chart.
Declaration
GridLine GridLines { get; set; }
Property Value
| Type |
|---|
| GridLine |
Height
Defines the height of the Gantt component container.
Declaration
string Height { get; set; }
Property Value
| Type |
|---|
| string |
HighlightWeekends
If highlightWeekends set to true, then all weekend days are highlighted in week - day timeline mode.
Declaration
bool HighlightWeekends { get; set; }
Property Value
| Type |
|---|
| bool |
Holidays
Defines Gantt Holiday collection.
Declaration
List<GanttHoliday> Holidays { get; set; }
Property Value
| Type |
|---|
| List<GanttHoliday> |
IncludeWeekend
To include weekend days in schedule calculation.
Declaration
bool IncludeWeekend { get; set; }
Property Value
| Type |
|---|
| bool |
KeySettings
Configures the key settings.
Declaration
GanttKeySettings KeySettings { get; set; }
Property Value
| Type |
|---|
| GanttKeySettings |
Locale
Defines Gantt localization feature.
Declaration
string Locale { get; set; }
Property Value
| Type |
|---|
| string |
ProjectEndDate
Defines end date of the project, if projectEndDate value not set then it will be calculated from data source.
Declaration
DateTime? ProjectEndDate { get; set; }
Property Value
| Type |
|---|
| DateTime? |
ProjectStartDate
Defines start date of the project, if projectStartDate value not set then it will be calculated from data source.
Declaration
DateTime? ProjectStartDate { get; set; }
Property Value
| Type |
|---|
| DateTime? |
Query
Defines the external Query that will be executed along with data processing.
Declaration
Query Query { get; set; }
Property Value
| Type |
|---|
| Query |
RowHeight
Defines height value for grid rows and chart rows in Gantt.
Declaration
int RowHeight { get; set; }
Property Value
| Type |
|---|
| int |
SearchSettings
Configures the search settings of the Gantt.
Declaration
GanttSearchSettings SearchSettings { get; set; }
Property Value
| Type |
|---|
| GanttSearchSettings |
SelectedRowIndex
The selectedRowIndex allows you to select a row at initial rendering.
Declaration
int SelectedRowIndex { get; set; }
Property Value
| Type |
|---|
| int |
SelectionSettings
Configures the selection settings.
Declaration
GanttSelectionSettings SelectionSettings { get; set; }
Property Value
| Type |
|---|
| GanttSelectionSettings |
ShowInlineNotes
To show notes column cell values inside the cell or in tooltip.
Declaration
bool ShowInlineNotes { get; set; }
Property Value
| Type |
|---|
| bool |
SortSettings
Configures the sort settings of the Gantt.
Declaration
GanttSortSettings SortSettings { get; set; }
Property Value
| Type |
|---|
| GanttSortSettings |
SplitterSettings
Configures the splitter settings of the Gantt.
Declaration
GanttSplitterSettings SplitterSettings { get; set; }
Property Value
| Type |
|---|
| GanttSplitterSettings |
TaskFields
Defines task fields value for grid rows and chart rows in Gantt.
Declaration
GanttTaskFields TaskFields { get; set; }
Property Value
| Type |
|---|
| GanttTaskFields |
TaskbarSettings
Gets or sets an instance of TaskbarSettings to configure the taskbar settings behavior in Gantt.
Declaration
GanttTaskbarSettings TaskbarSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| GanttTaskbarSettings | An instance of TaskbarSettings. |
Remarks
Provides options to customize the multitaskbar behavior.
Examples
<SfGantt @ref = "Gantt" DataSource="@TaskCollection">
<GanttTaskbarSettings EnableMultiTaskbar="true" AllowTaskbarDragAndDrop="true">
</GanttTaskbarSettings>
</SfGantt>
TimelineSettings
configures timeline settings of the Gantt.
Declaration
GanttTimelineSettings TimelineSettings { get; set; }
Property Value
| Type |
|---|
| GanttTimelineSettings |
TimelineTierSettings
configures timelineTier settings of the Gantt.
Declaration
GanttTimelineTierSettings TimelineTierSettings { get; set; }
Property Value
| Type |
|---|
| GanttTimelineTierSettings |
Toolbar
Toolbar defines the toolbar items of the Gantt.
Declaration
object Toolbar { get; set; }
Property Value
| Type |
|---|
| object |
TreeColumnIndex
To define expander column index in Grid.
Declaration
int TreeColumnIndex { get; set; }
Property Value
| Type |
|---|
| int |
ViewType
Defines the view type of the Gantt.
Declaration
ViewType ViewType { get; set; }
Property Value
| Type |
|---|
| ViewType |
Width
Defines the width of the Gantt component container.
Declaration
string Width { get; set; }
Property Value
| Type |
|---|
| string |
Methods
ModelChanged(IDictionary<string, object>, string)
ModelChanged in Gantt.
Declaration
void ModelChanged(IDictionary<string, object> propertyChanges, string propertyName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IDictionary<string, object> | propertyChanges | propertyChanges. |
| string | propertyName | propertyName. |
UpdateChildProperties(string, object)
To update Child Properties.
Declaration
void UpdateChildProperties(string key, object changedValue)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | key. |
| object | changedValue | value. |