Hi,
Currently, you can change start OR end for the package without problems, and therefore you can change the duration this way, but for the project or phase, it is not possible.
Since these dates are changeable one by one manually through the table on the left or popup form, there is no logical reason why they can't be changed in the timeline as well.
Please could you consider adding this to the gantt widget.
Thank you very much.
Hi Team,
I would like to request the functionality to easily persist the state of the Kendo UI Gantt like in this Kendo UI Grid example. Maybe include getOptions/setOptions methods for the component.
Thank you!
Hi Team,
I would like to request a way to export a larger amount of records fast and easily with the Kendo UI Gantt. I have tried with over 800, but it runs sluggish. I am aware of the limitations, but would like to request a faster way to export to PDF.
Thank you!
When planned tasks are displayed and rowHeight is set to the Gantt, the dependency lines are displayed incorrectly
Dependency lines are misplaced
The dependency lines should be rendered on the correct position
Set the padding-top to '.k-task-wrap' elements
Dojo
Hi,
I use a Gantt chart like this one.
<script>
$("#gantt").kendoGantt({
dataSource: [{
id: 1,
orderId: 0,
parentId: null,
title: "Task1",
start: new Date("2021/6/1"),
end: new Date("2021/6/3")
}],
range: {
start: new Date("2021/05/31"),
end: new Date("2021/12/01")
},
views: ["month"]
});
In the example, the Gantt chart starts on May 31, 2021.
In the first header line we see the month of May, followed by July. There is no month of June.
https://dojo.telerik.com/@lydbell/ULAPUdOV
This only happens when the last day of the month is Monday .
I would like to be able to toggle the planned vs actual view on Gantt outside of the Gantt toolbar. This can be achieved using private methods as in the example below and the Dojo linked here:
```
function changeValue(){
var gantt = $('#gantt').data('kendoGantt')
var timeline = gantt.timeline;
var showPlanned = $('#gantt input.k-gantt-planned-switch').data('kendoSwitch').check()
$('#gantt input.k-gantt-planned-switch').data('kendoSwitch').check(!showPlanned)
gantt.wrapper.toggleClass("k-gantt-planned");
timeline._setPlanned(!timeline.options.showPlannedTasks);
timeline._render(gantt.dataSource.taskTree());
timeline._renderDependencies(gantt.dependencies.view());
}
```
However, having a public method for showing the planned tasks (for example showPlannedTasks(true) ) would be very helpful.
When the validation message appears that the Start Date should be before the End Date, picking a proper End Date does not automatically remove the validation message in the Gantt.
Workaround: call the validate method in the change event of the End DatePicker.
https://dojo.telerik.com/@martin.tabakov@progress.com/IQiRukIN/11
The validation message remains and the user must again focus and blur the Start Date picker for the message to disappear.
The validation should be removed automatically after picking a EndDate that is after the StartDate.
If a date is configured in Gantt by using the date method or views.date configuration and then a task is edited, the Gantt displays the initial date after editing a task.
After the task is edited the horizontal scroll position is set to its initial position, not to a position according to the edited task. Thus, the user needs to scroll again in order to find the edited task.
The behavior is not the same when the date method/configuration is not used. Also, the behavior is not the same if we first switch between the 'Day', 'Week', 'Month' views before editing a task.
Even if the initial date of the Gantt is configured, when the user edits a task, the date should not be persisted. The horizontal scroll should be in the same position as before editing a task.
As all grids, the kendo Gantt chart's rows change their color when hovering. However, the background overlaps the border between columns and makes them disappear for the hovered row.
You can reproduce the described behavior by hovering one of the rows in this DOJO.
When the autoSync option of the GanttDependencyDataSource is set to true, two identical requests are sent to the server when creating a new dependency.
Two identical Create requests are sent to the server
Only one request should be sent to the server
When rendering this minimal DOJO containing a Kendo-UI Gantt chart in Chrome, space in the grid header is reserved for the vertical scrollbar on the right hand side:
When using Firefox, space is still reserved, although scrollbars collapse by default and therefore do not need any space:
When a user switches from navigating by mouse to navigating by keyboard, the focused element in the overview grid is not synchronized. Please follow the instructions below to reproduce the issue using this DOJO:
Wouldn't a user expect the cell he/she just clicked to be focused? The keyboard focus should be updated even when navigating by mouse.
When the RowHeight of the Gantt is enabled and the planned tasks are shown, the height of the row in the timeline is miscalculated and that creates displacement.
Additionally, the task dots used for the dependencies are misplaced in the same scenario as demonstrated in the dojo above.
Bug report
Long Gantt event is not visible since 2022.1.119
Reproduction of the problem
1. Open the Gantt Demo in Firefox.
2. Switch the view to Month.
3. Pick an event row in the chart (e.g. 'Market Research'), and set the End date to 2024-12-31.
4. The event is no longer visible in the right-hand-side of the gantt.
Expected/desired behavior
Gantt event shall be visible
Environment
Kendo UI version: 2022.1.119 or newer
Browser: [all]