RadzenGantt<TItem> Class

Displays tasks in a split view: hierarchical rows on the left and a timeline with task bars on the right.

Inheritance

Object

ComponentBase

RadzenComponent

RadzenGantt<TItem>

Implements

IComponent

IHandleEvent

IHandleAfterRender

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenGantt<TItem> : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender

Type Parameters

Name Description
TItemTask item type.

Constructors

RadzenGantt<TItem>link

Displays tasks in a split view: hierarchical rows on the left and a timeline with task bars on the right.

Declaration
public RadzenGantt<TItem>()

Properties

AllowAlternatingRowslink

Gets or sets whether alternating rows are shown.

Declaration
public bool AllowAlternatingRows { get; set; }
Property Value
Type Description
boolGets or sets whether alternating rows are shown.

AllowColumnPickinglink

Enables column picking. Default is false.

Declaration
public bool AllowColumnPicking { get; set; }
Property Value
Type Description
boolEnables column picking. Default is false.

AllowColumnReorderlink

Enables column reordering. Default is false.

Declaration
public bool AllowColumnReorder { get; set; }
Property Value
Type Description
boolEnables column reordering. Default is false.

AllowColumnResizelink

Enables column resizing. Default is false.

Declaration
public bool AllowColumnResize { get; set; }
Property Value
Type Description
boolEnables column resizing. Default is false.

AllowFilterDateInputlink

Gets or sets whether filter date input is allowed.

Declaration
public bool AllowFilterDateInput { get; set; }
Property Value
Type Description
boolGets or sets whether filter date input is allowed.

AllowFilteringlink

Enables filtering in the left pane grid. Default is true.

Declaration
public bool AllowFiltering { get; set; }
Property Value
Type Description
boolEnables filtering in the left pane grid. Default is true.

AllowMultiColumnSortinglink

Enables multi-column sorting. Default is false.

Declaration
public bool AllowMultiColumnSorting { get; set; }
Property Value
Type Description
boolEnables multi-column sorting. Default is false.

AllowPaginglink

Enables paging in the left pane grid. Default is false.

Declaration
public bool AllowPaging { get; set; }
Property Value
Type Description
boolEnables paging in the left pane grid. Default is false.

AllowRowSelectOnRowClicklink

Gets or sets whether row selection is allowed on row click.

Declaration
public bool AllowRowSelectOnRowClick { get; set; }
Property Value
Type Description
boolGets or sets whether row selection is allowed on row click.

AllowSortinglink

Enables sorting in the left pane grid. Default is true.

Declaration
public bool AllowSorting { get; set; }
Property Value
Type Description
boolEnables sorting in the left pane grid. Default is true.

AllowVirtualizationlink

Enables row virtualization. Default is false.

Declaration
public bool AllowVirtualization { get; set; }
Property Value
Type Description
boolEnables row virtualization. Default is false.

AndOperatorTextlink

And operator text.

Declaration
public string AndOperatorText { get; set; }
Property Value
Type Description
stringAnd operator text.

ApplyFilterTextlink

Apply filter text.

Declaration
public string ApplyFilterText { get; set; }
Property Value
Type Description
stringApply filter text.

BaselineEndPropertylink

Property name for the baseline (planned) end date.

Declaration
public string BaselineEndProperty { get; set; }
Property Value
Type Description
stringProperty name for the baseline (planned) end date.

BaselineStartPropertylink

Property name for the baseline (planned) start date. When set together with BaselineEndProperty, a secondary bar is rendered behind the actual bar showing planned vs actual.

Declaration
public string BaselineStartProperty { get; set; }
Property Value
Type Description
stringProperty name for the baseline (planned) start date. When set together with BaselineEndProperty, a secondary bar is rendered behind the actual bar showing planned vs actual.

CellClicklink

Cell click callback.

Declaration
public EventCallback<DataGridCellMouseEventArgs<TItem>> CellClick { get; set; }
Property Value
Type Description
EventCallback<DataGridCellMouseEventArgs<TItem>>Cell click callback.

CellContextMenulink

Cell context menu callback.

Declaration
public EventCallback<DataGridCellMouseEventArgs<TItem>> CellContextMenu { get; set; }
Property Value
Type Description
EventCallback<DataGridCellMouseEventArgs<TItem>>Cell context menu callback.

CellDoubleClicklink

Cell double click callback.

Declaration
public EventCallback<DataGridCellMouseEventArgs<TItem>> CellDoubleClick { get; set; }
Property Value
Type Description
EventCallback<DataGridCellMouseEventArgs<TItem>>Cell double click callback.

CellRenderlink

Cell render callback.

Declaration
public Action<DataGridCellRenderEventArgs<TItem>> CellRender { get; set; }
Property Value
Type Description
Action<DataGridCellRenderEventArgs<TItem>>Cell render callback.

ClearFilterTextlink

Clear filter text.

Declaration
public string ClearFilterText { get; set; }
Property Value
Type Description
stringClear filter text.

ColumnReorderedlink

Column reordered callback.

Declaration
public EventCallback<DataGridColumnReorderedEventArgs<TItem>> ColumnReordered { get; set; }
Property Value
Type Description
EventCallback<DataGridColumnReorderedEventArgs<TItem>>Column reordered callback.

ColumnReorderinglink

Column reordering callback.

Declaration
public EventCallback<DataGridColumnReorderingEventArgs<TItem>> ColumnReordering { get; set; }
Property Value
Type Description
EventCallback<DataGridColumnReorderingEventArgs<TItem>>Column reordering callback.

ColumnResizedlink

Column resized callback.

Declaration
public EventCallback<DataGridColumnResizedEventArgs<TItem>> ColumnResized { get; set; }
Property Value
Type Description
EventCallback<DataGridColumnResizedEventArgs<TItem>>Column resized callback.

Columnslink

Optional columns definition for the left pane.

Declaration
public RenderFragment Columns { get; set; }
Property Value
Type Description
RenderFragmentOptional columns definition for the left pane.

ContainsTextlink

Contains text.

Declaration
public string ContainsText { get; set; }
Property Value
Type Description
stringContains text.

Datalink

Task items.

Declaration
public IEnumerable<TItem> Data { get; set; }
Property Value
Type Description
IEnumerable<TItem>Task items.

DayWidthPxlink

Day cell width in pixels.

Declaration
public int DayWidthPx { get; set; }
Property Value
Type Description
intDay cell width in pixels.

Densitylink

Gets or sets the density.

Declaration
public Density Density { get; set; }
Property Value
Type Description
DensityGets or sets the density.

Dependencieslink

Optional task dependencies to draw connecting lines using object references. For database scenarios, prefer DependencyData with property-name-based binding.

Declaration
public IEnumerable<GanttDependency<TItem>> Dependencies { get; set; }
Property Value
Type Description
IEnumerable<GanttDependency<TItem>>Optional task dependencies to draw connecting lines using object references. For database scenarios, prefer DependencyData with property-name-based binding.

DependencyDatalink

Collection of dependency items (any POCO with predecessor/successor ID properties). Use together with DependencyFromProperty, DependencyToProperty, and optionally DependencyTypeProperty. When set, takes priority over Dependencies.

Declaration
public IEnumerable<object> DependencyData { get; set; }
Property Value
Type Description
IEnumerable<object>Collection of dependency items (any POCO with predecessor/successor ID properties). Use together with DependencyFromProperty, DependencyToProperty, and optionally DependencyTypeProperty. When set, takes priority over Dependencies.

DependencyFromPropertylink

Property name on DependencyData items that holds the predecessor task ID (must match values of IdProperty on the task items).

Declaration
public string DependencyFromProperty { get; set; }
Property Value
Type Description
stringProperty name on DependencyData items that holds the predecessor task ID (must match values of IdProperty on the task items).

DependencyToPropertylink

Property name on DependencyData items that holds the successor task ID (must match values of IdProperty on the task items).

Declaration
public string DependencyToProperty { get; set; }
Property Value
Type Description
stringProperty name on DependencyData items that holds the successor task ID (must match values of IdProperty on the task items).

DependencyTypePropertylink

Optional property name on DependencyData items that holds the dependency type. When not set, all dependencies default to FinishToStart.

Declaration
public string DependencyTypeProperty { get; set; }
Property Value
Type Description
stringOptional property name on DependencyData items that holds the dependency type. When not set, all dependencies default to FinishToStart.

DoesNotContainTextlink

Does not contain text.

Declaration
public string DoesNotContainText { get; set; }
Property Value
Type Description
stringDoes not contain text.

EditModelink

Gets or sets the edit mode.

Declaration
public DataGridEditMode EditMode { get; set; }
Property Value
Type Description
DataGridEditModeGets or sets the edit mode.

EmptyTextlink

Gets or sets the empty text.

Declaration
public string EmptyText { get; set; }
Property Value
Type Description
stringGets or sets the empty text.

EndPropertylink

Property name used for task end date.

Declaration
public string EndProperty { get; set; }
Property Value
Type Description
stringProperty name used for task end date.

EndsWithTextlink

Ends with text.

Declaration
public string EndsWithText { get; set; }
Property Value
Type Description
stringEnds with text.

EqualsTextlink

Equals text.

Declaration
public string EqualsText { get; set; }
Property Value
Type Description
stringEquals text.

ExpandModelink

Gets or sets the expand mode for hierarchical data.

Declaration
public DataGridExpandMode ExpandMode { get; set; }
Property Value
Type Description
DataGridExpandModeGets or sets the expand mode for hierarchical data.

Filterlink

Column filter callback.

Declaration
public EventCallback<DataGridColumnFilterEventArgs<TItem>> Filter { get; set; }
Property Value
Type Description
EventCallback<DataGridColumnFilterEventArgs<TItem>>Column filter callback.

FilterCaseSensitivitylink

Gets or sets the filter case sensitivity.

Declaration
public FilterCaseSensitivity FilterCaseSensitivity { get; set; }
Property Value
Type Description
FilterCaseSensitivityGets or sets the filter case sensitivity.

FilterClearedlink

Column filter cleared callback.

Declaration
public EventCallback<DataGridColumnFilterEventArgs<TItem>> FilterCleared { get; set; }
Property Value
Type Description
EventCallback<DataGridColumnFilterEventArgs<TItem>>Column filter cleared callback.

FilterModelink

Gets or sets the filter mode.

Declaration
public FilterMode FilterMode { get; set; }
Property Value
Type Description
FilterModeGets or sets the filter mode.

FilterPopupRenderModelink

Gets or sets the filter popup render mode.

Declaration
public PopupRenderMode FilterPopupRenderMode { get; set; }
Property Value
Type Description
PopupRenderModeGets or sets the filter popup render mode.

FilterTextlink

Filter text.

Declaration
public string FilterText { get; set; }
Property Value
Type Description
stringFilter text.

FooterCellRenderlink

Footer cell render callback.

Declaration
public Action<DataGridCellRenderEventArgs<TItem>> FooterCellRender { get; set; }
Property Value
Type Description
Action<DataGridCellRenderEventArgs<TItem>>Footer cell render callback.

GotoFirstPageOnSortlink

Whether to go to the first page on sort. Default is false.

Declaration
public bool GotoFirstPageOnSort { get; set; }
Property Value
Type Description
boolWhether to go to the first page on sort. Default is false.

GreaterThanOrEqualsTextlink

Greater than or equals text.

Declaration
public string GreaterThanOrEqualsText { get; set; }
Property Value
Type Description
stringGreater than or equals text.

GreaterThanTextlink

Greater than text.

Declaration
public string GreaterThanText { get; set; }
Property Value
Type Description
stringGreater than text.

GridLineslink

Gets or sets the grid lines.

Declaration
public DataGridGridLines GridLines { get; set; }
Property Value
Type Description
DataGridGridLinesGets or sets the grid lines.

HeaderCellRenderlink

Header cell render callback.

Declaration
public Action<DataGridCellRenderEventArgs<TItem>> HeaderCellRender { get; set; }
Property Value
Type Description
Action<DataGridCellRenderEventArgs<TItem>>Header cell render callback.

HeaderDateFormatlink

Date format for header cells.

Declaration
public string HeaderDateFormat { get; set; }
Property Value
Type Description
stringDate format for header cells.

IdPropertylink

Property name used as unique task id.

Declaration
public string IdProperty { get; set; }
Property Value
Type Description
stringProperty name used as unique task id.

IsEmptyTextlink

Is empty text.

Declaration
public string IsEmptyText { get; set; }
Property Value
Type Description
stringIs empty text.

IsLoadinglink

Gets or sets whether loading indicator is shown.

Declaration
public bool IsLoading { get; set; }
Property Value
Type Description
boolGets or sets whether loading indicator is shown.

IsNotEmptyTextlink

Is not empty text.

Declaration
public string IsNotEmptyText { get; set; }
Property Value
Type Description
stringIs not empty text.

IsNotNullTextlink

Is not null text.

Declaration
public string IsNotNullText { get; set; }
Property Value
Type Description
stringIs not null text.

IsNullTextlink

Is null text.

Declaration
public string IsNullText { get; set; }
Property Value
Type Description
stringIs null text.

IsValidlink

Returns whether the underlying grid has a valid edit state.

Declaration
public bool IsValid { get; }
Property Value
Type Description
boolReturns whether the underlying grid has a valid edit state.

KeyDownlink

Key down callback.

Declaration
public EventCallback<KeyboardEventArgs> KeyDown { get; set; }
Property Value
Type Description
EventCallback<KeyboardEventArgs>Key down callback.

LeftPaneWidthlink

Width of the left pane (CSS length).

Declaration
public string LeftPaneWidth { get; set; }
Property Value
Type Description
stringWidth of the left pane (CSS length).

LessThanOrEqualsTextlink

Less than or equals text.

Declaration
public string LessThanOrEqualsText { get; set; }
Property Value
Type Description
stringLess than or equals text.

LessThanTextlink

Less than text.

Declaration
public string LessThanText { get; set; }
Property Value
Type Description
stringLess than text.

LoadSettingslink

Load settings callback.

Declaration
public Action<DataGridLoadSettingsEventArgs> LoadSettings { get; set; }
Property Value
Type Description
Action<DataGridLoadSettingsEventArgs>Load settings callback.

LogicalFilterOperatorlink

Gets or sets the logical filter operator.

Declaration
public LogicalFilterOperator LogicalFilterOperator { get; set; }
Property Value
Type Description
LogicalFilterOperatorGets or sets the logical filter operator.

Markerslink

Optional vertical date markers rendered on the timeline (e.g. deadlines, milestones, releases).

Declaration
public IEnumerable<GanttMarker> Markers { get; set; }
Property Value
Type Description
IEnumerable<GanttMarker>Optional vertical date markers rendered on the timeline (e.g. deadlines, milestones, releases).

NextTextlink

Tooltip for the "Next" navigation button. Default is "Next".

Declaration
public string NextText { get; set; }
Property Value
Type Description
stringTooltip for the "Next" navigation button. Default is "Next".

NonWorkingDayslink

The days of the week considered non-working. Used when ShowWeekends is true. Defaults to Saturday and Sunday.

Declaration
public IEnumerable<DayOfWeek> NonWorkingDays { get; set; }
Property Value
Type Description
IEnumerable<DayOfWeek>The days of the week considered non-working. Used when ShowWeekends is true. Defaults to Saturday and Sunday.

NotEqualsTextlink

Not equals text.

Declaration
public string NotEqualsText { get; set; }
Property Value
Type Description
stringNot equals text.

OrOperatorTextlink

Or operator text.

Declaration
public string OrOperatorText { get; set; }
Property Value
Type Description
stringOr operator text.

PageSizelink

Page size when AllowPaging is enabled.

Declaration
public int PageSize { get; set; }
Property Value
Type Description
intPage size when AllowPaging is enabled.

PageSizeChangedlink

Page size changed callback.

Declaration
public EventCallback<int> PageSizeChanged { get; set; }
Property Value
Type Description
EventCallback<int>Page size changed callback.

ParentIdPropertylink

Property name used as parent task id.

Declaration
public string ParentIdProperty { get; set; }
Property Value
Type Description
stringProperty name used as parent task id.

PickedColumnsChangedlink

Picked columns changed callback.

Declaration
public EventCallback<DataGridPickedColumnsChangedEventArgs<TItem>> PickedColumnsChanged { get; set; }
Property Value
Type Description
EventCallback<DataGridPickedColumnsChangedEventArgs<TItem>>Picked columns changed callback.

PrevTextlink

Tooltip for the "Previous" navigation button. Default is "Previous".

Declaration
public string PrevText { get; set; }
Property Value
Type Description
stringTooltip for the "Previous" navigation button. Default is "Previous".

ProgressPropertylink

Property name used for task progress (0..100). Optional.

Declaration
public string ProgressProperty { get; set; }
Property Value
Type Description
stringProperty name used for task progress (0..100). Optional.

Renderlink

Render callback.

Declaration
public Action<DataGridRenderEventArgs<TItem>> Render { get; set; }
Property Value
Type Description
Action<DataGridRenderEventArgs<TItem>>Render callback.

Responsivelink

Gets or sets whether grid is responsive.

Declaration
public bool Responsive { get; set; }
Property Value
Type Description
boolGets or sets whether grid is responsive.

RowClicklink

Row click callback.

Declaration
public EventCallback<DataGridRowMouseEventArgs<TItem>> RowClick { get; set; }
Property Value
Type Description
EventCallback<DataGridRowMouseEventArgs<TItem>>Row click callback.

RowCollapselink

Row collapse callback.

Declaration
public EventCallback<TItem> RowCollapse { get; set; }
Property Value
Type Description
EventCallback<TItem>Row collapse callback.

RowCreatelink

Row create callback.

Declaration
public EventCallback<TItem> RowCreate { get; set; }
Property Value
Type Description
EventCallback<TItem>Row create callback.

RowDeselectlink

Row deselect callback.

Declaration
public EventCallback<TItem> RowDeselect { get; set; }
Property Value
Type Description
EventCallback<TItem>Row deselect callback.

RowDoubleClicklink

Row double click callback.

Declaration
public EventCallback<DataGridRowMouseEventArgs<TItem>> RowDoubleClick { get; set; }
Property Value
Type Description
EventCallback<DataGridRowMouseEventArgs<TItem>>Row double click callback.

RowEditlink

Row edit callback.

Declaration
public EventCallback<TItem> RowEdit { get; set; }
Property Value
Type Description
EventCallback<TItem>Row edit callback.

RowExpandlink

Row expand callback.

Declaration
public EventCallback<TItem> RowExpand { get; set; }
Property Value
Type Description
EventCallback<TItem>Row expand callback.

RowHeightPxlink

Row height in pixels.

Declaration
public int RowHeightPx { get; set; }
Property Value
Type Description
intRow height in pixels.

RowRenderlink

Row render callback.

Declaration
public Action<RowRenderEventArgs<TItem>> RowRender { get; set; }
Property Value
Type Description
Action<RowRenderEventArgs<TItem>>Row render callback.

RowSelectlink

Row select callback.

Declaration
public EventCallback<TItem> RowSelect { get; set; }
Property Value
Type Description
EventCallback<TItem>Row select callback.

RowUpdatelink

Row update callback.

Declaration
public EventCallback<TItem> RowUpdate { get; set; }
Property Value
Type Description
EventCallback<TItem>Row update callback.

SettingsChangedlink

Settings changed callback.

Declaration
public EventCallback<DataGridSettings> SettingsChanged { get; set; }
Property Value
Type Description
EventCallback<DataGridSettings>Settings changed callback.

ShowCellDataAsTooltiplink

Gets or sets whether to show cell data as tooltip.

Declaration
public bool ShowCellDataAsTooltip { get; set; }
Property Value
Type Description
boolGets or sets whether to show cell data as tooltip.

ShowColumnTitleAsTooltiplink

Gets or sets whether to show column title as tooltip.

Declaration
public bool ShowColumnTitleAsTooltip { get; set; }
Property Value
Type Description
boolGets or sets whether to show column title as tooltip.

ShowCriticalPathlink

When true, highlights the critical path — the longest chain of dependent tasks that determines the project end date. Requires Dependencies to be set.

Declaration
public bool ShowCriticalPath { get; set; }
Property Value
Type Description
boolWhen true, highlights the critical path — the longest chain of dependent tasks that determines the project end date. Requires Dependencies to be set.

ShowEmptyMessagelink

Gets or sets whether empty message is shown.

Declaration
public bool ShowEmptyMessage { get; set; }
Property Value
Type Description
boolGets or sets whether empty message is shown.

ShowHeaderlink

Gets or sets whether header is shown.

Declaration
public bool ShowHeader { get; set; }
Property Value
Type Description
boolGets or sets whether header is shown.

ShowMultiColumnSortingIndexlink

Shows multi-column sorting index. Default is false.

Declaration
public bool ShowMultiColumnSortingIndex { get; set; }
Property Value
Type Description
boolShows multi-column sorting index. Default is false.

ShowNavigationlink

Shows the unified Gantt navigation header.

Declaration
public bool ShowNavigation { get; set; }
Property Value
Type Description
boolShows the unified Gantt navigation header.

ShowTodayLinelink

When true, draws a vertical line on the timeline at the current date/time.

Declaration
public bool ShowTodayLine { get; set; }
Property Value
Type Description
boolWhen true, draws a vertical line on the timeline at the current date/time.

ShowWeekendslink

When true, shades non-working days (Saturday and Sunday by default) on the timeline.

Declaration
public bool ShowWeekends { get; set; }
Property Value
Type Description
boolWhen true, shades non-working days (Saturday and Sunday by default) on the timeline.

Sortlink

Column sort callback.

Declaration
public EventCallback<DataGridColumnSortEventArgs<TItem>> Sort { get; set; }
Property Value
Type Description
EventCallback<DataGridColumnSortEventArgs<TItem>>Column sort callback.

StartPropertylink

Property name used for task start date.

Declaration
public string StartProperty { get; set; }
Property Value
Type Description
stringProperty name used for task start date.

StartsWithTextlink

Starts with text.

Declaration
public string StartsWithText { get; set; }
Property Value
Type Description
stringStarts with text.

TaskClicklink

Raised when a task bar is clicked.

Declaration
public EventCallback<TItem> TaskClick { get; set; }
Property Value
Type Description
EventCallback<TItem>Raised when a task bar is clicked.

TaskMouseEnterlink

Raised when the mouse enters a task bar. Commonly used to show a tooltip.

Declaration
public EventCallback<GanttTaskMouseEventArgs<TItem>> TaskMouseEnter { get; set; }
Property Value
Type Description
EventCallback<GanttTaskMouseEventArgs<TItem>>Raised when the mouse enters a task bar. Commonly used to show a tooltip.

TaskMouseLeavelink

Raised when the mouse leaves a task bar. Commonly used to close a tooltip.

Declaration
public EventCallback<GanttTaskMouseEventArgs<TItem>> TaskMouseLeave { get; set; }
Property Value
Type Description
EventCallback<GanttTaskMouseEventArgs<TItem>>Raised when the mouse leaves a task bar. Commonly used to close a tooltip.

TaskMovelink

Raised when a task bar is dragged to a new position on the timeline. The consumer should update the data item's start and end dates.

Declaration
public EventCallback<GanttTaskMovedEventArgs<TItem>> TaskMove { get; set; }
Property Value
Type Description
EventCallback<GanttTaskMovedEventArgs<TItem>>Raised when a task bar is dragged to a new position on the timeline. The consumer should update the data item's start and end dates.

TaskRenderlink

Callback to customize the appearance of each task bar. Set CssClass or Attributes to change colors or styles per task.

Declaration
public Action<GanttBarRenderEventArgs<TItem>> TaskRender { get; set; }
Property Value
Type Description
Action<GanttBarRenderEventArgs<TItem>>Callback to customize the appearance of each task bar. Set CssClass or Attributes to change colors or styles per task.

TaskResizelink

Raised when a task bar edge is dragged to resize the task. The consumer should update the data item's start and/or end date.

Declaration
public EventCallback<GanttTaskMovedEventArgs<TItem>> TaskResize { get; set; }
Property Value
Type Description
EventCallback<GanttTaskMovedEventArgs<TItem>>Raised when a task bar edge is dragged to resize the task. The consumer should update the data item's start and/or end date.

TaskTemplatelink

Custom template for the content rendered inside each task bar. When set, replaces the default progress bar and label. Receives the task data item as context.

Declaration
public RenderFragment<TItem> TaskTemplate { get; set; }
Property Value
Type Description
RenderFragment<TItem>Custom template for the content rendered inside each task bar. When set, replaces the default progress bar and label. Receives the task data item as context.

TextPropertylink

Property name used for task title (shown in the first column when no template is provided).

Declaration
public string TextProperty { get; set; }
Property Value
Type Description
stringProperty name used for task title (shown in the first column when no template is provided).

TodayTextlink

Text for the "Today" navigation button. Default is "Today".

Declaration
public string TodayText { get; set; }
Property Value
Type Description
stringText for the "Today" navigation button. Default is "Today".

ViewEndlink

Optional explicit timeline end.

Declaration
public DateTime? ViewEnd { get; set; }
Property Value
Type Description
DateTime?Optional explicit timeline end.

ViewStartlink

Optional explicit timeline start.

Declaration
public DateTime? ViewStart { get; set; }
Property Value
Type Description
DateTime?Optional explicit timeline start.

VirtualizationOverscanCountlink

Gets or sets the virtualization overscan count.

Declaration
public int VirtualizationOverscanCount { get; set; }
Property Value
Type Description
intGets or sets the virtualization overscan count.

WeeksInViewlink

Number of weeks to render in Week view.

Declaration
public int WeeksInView { get; set; }
Property Value
Type Description
intNumber of weeks to render in Week view.

ZoomLevellink

Timeline zoom.

Declaration
public GanttZoomLevel ZoomLevel { get; set; }
Property Value
Type Description
GanttZoomLevelTimeline zoom.

ZoomToFitTextlink

Tooltip for the "Zoom to fit" navigation button. Default is "Zoom to fit".

Declaration
public string ZoomToFitText { get; set; }
Property Value
Type Description
stringTooltip for the "Zoom to fit" navigation button. Default is "Zoom to fit".

Methods

BuildRenderTreelink

Declaration
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
Parameters
Type Name Description
Rendering.RenderTreeBuilder __builder

CancelEditRowlink

Cancels edit mode for the specified item.

Declaration
public void CancelEditRow(TItem item)
Parameters
Type Name Description
TItem item The item to cancel editing for.

Disposelink

Declaration
public override void Dispose()

EditRowlink

Puts the specified item in edit mode.

Declaration
public Task EditRow(TItem item)
Parameters
Type Name Description
TItem item The item to edit.
Returns
Type Description
Task

ExpandRowslink

Expands a range of rows.

Declaration
public Task ExpandRows(IEnumerable<TItem> items)
Parameters
Type Name Description
IEnumerable<TItem> items The range of rows.
Returns
Type Description
Task

GetComponentCssClasslink

Declaration
protected override string GetComponentCssClass()
Returns
Type Description
string

InsertAfterRowlink

Inserts a new item after the specified row in edit mode.

Declaration
public Task InsertAfterRow(TItem item, TItem afterItem)
Parameters
Type Name Description
TItem item The new item to insert.
TItem afterItem The item after which to insert.
Returns
Type Description
Task

InsertRowlink

Inserts a new item into the grid in edit mode.

Declaration
public Task InsertRow(TItem item)
Parameters
Type Name Description
TItem item The item to insert.
Returns
Type Description
Task

OnAfterRenderAsynclink

Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
Type Name Description
bool firstRender
Returns
Type Description
Task

OnParametersSetlink

Declaration
protected override void OnParametersSet()

Reloadlink

Reloads the underlying grid data.

Declaration
public Task Reload()
Returns
Type Description
Task

UpdateRowlink

Updates the specified item and exits edit mode.

Declaration
public Task UpdateRow(TItem item)
Parameters
Type Name Description
TItem item The item to update.
Returns
Type Description
Task

ZoomToFitlink

Auto-calculates ViewStart and ViewEnd and selects the best zoom level so that all tasks fit in the visible timeline.

Declaration
public Task ZoomToFit()
Returns
Type Description
Task
An error has occurred. This app may no longer respond until reloaded. Reload 🗙