I want to be able to create custom views for the Gantt Timeline, for example - minutes view.
-------------------------
ADMIN EDIT
-------------------------
The post is marked with "Need more info" label, so we can gather feedback from the community on how this feature is expected to be exposed for configuration and what the desired behavior is. An important point to consider regarding this enhancement is that, depending on its implementation, it might override the built-in Gantt Timeline functionalities, so it will be up to the application logic to handle the tasks features (for example editing, dependencies etc). Please share your comments and ideas.
By default, all nested tasks are displayed expanded.
The state of the root task is always the most important, so it makes more sense to display tasks minimized by default.
The user can always expand the required task for details.
The solution is to support the "IsExpanded" property for the task model.
When a property changes, the task changes its state.
For the component, also add the "ExpandAll" and "CollapseAll" methods that affect all tasks in the list.
How to get only the year and date in the Gantt Chart Tooltip template? The DataAttribute is not a valid date string.
<TooltipTemplate>
<h4>@(((TooltipTemplateContext)context).Title)</h4>
<h5>Start: @(((TooltipTemplateContext)context).DataAttributes["start"])</h5>
<h5>End: @(((TooltipTemplateContext)context).DataAttributes["end"])</h5>
</TooltipTemplate>
The Tooltip Template of the Gantt behaves strangely in a WASM application. It flickers and does not display any information. Reproduction in REPL which is essentially a WASM app: https://blazorrepl.telerik.com/QQFEapOg56MCIhIK48.
The issue is not reproducible in a server-side application using the same code.
Please add Parameters "TreeListSelectionMode" and "TreeListSelectedItems".
UseCase1: Group Selected Items (create new Element as Parent of all selected Elements)
UseCase2: Postpone Selected Items by x days
Hello
Could we add a "decade" view for the Gantt chart? (currently goes until Year)
If the Blazor Gantt chart schedule items span over many years/decades, the Gantt is unusable and crashes.
Our clients' use case is the management of multiple long-term leases; spanning up to 15-30 years.
See the attached image as an example in PowerBI where they have a "decade" view.
Regards
Phil
It is very strange that while the Gantt component is similar to the gorgeous Grid component, support for row and header templates has not been released.
We await implementation
<GanttColumn>
<HeaderTemplate Context = @ myContext>
</HeaderTemplate>
<Template Context = @ myContext>
</Template>
</GanttColumn>
**Admin Edit**
Will be released in 3.1.0.
**Admin Edit**
When I describe a EditorTemplate on a GanttColumn, I expect it to be shown on entering the edit-mode:
<GanttColumn Field="@nameof(ActivityContainer.TaskName)" Title="@_["_name"]" Expandable="true" Resizable="true" >
<EditorTemplate>
<strong>I expect this to see</strong>
</EditorTemplate>
</GanttColumn>
Expected: Just the string "I expect this to see"
What I actually get:
The default edit box (feels like the EditorTemplate doesn't apply at all?)
Docs (https://docs.telerik.com/blazor-ui/api/Telerik.Blazor.Components.GanttColumn#collapsible-Telerik_Blazor_Components_GanttColumn_EditorTemplate) say, that the GanttColumn has a EditorTempalte.
---
Side effect:
<GanttColumn Field="@nameof(ActivityContainer.TaskName)" Title="@_["_name"]" Expandable="true" Resizable="true" >
<EditorTemplate>
<strong>@((context as ActivityContainer)?.TaskName)I expect this to see</strong>
</EditorTemplate>
</GanttColumn>
error CS0103: The name 'context' does not exist in the current context
Context should be there.
The current implementation of the double-click task edit feature is not an intuitive user interface action.
Also, there is absolutely no need to automatically edit the properties of the task model when you click on GanttColumns.
Give the developer independent control over the behavior of the edit event.
Necessary solutions:
1. Implement support for the "IsEnabled" task model property that disables editing the property for the GanttColumn and double-clicking on the Timeline panel
2. Implement support for the "Edit" command for the GanttCommandButton
in the demo, the percentage display can be over 100%.
As soon as it is over 100% there, the following error is displayed:
(this also happens because it is always incremented by 1, which then always corresponds to an additional 100%.)
==========
ADMIN EDIT
==========
In the meantime, a possible workaround could be to use the built-in validation and set values 0 to 1 for the Range attribute of the Percent Complete field. The attached example demonstrates how to achieve that.