Delete Gantt dependency requires to click on it and press the delete key.
How can I delete it on a mobile device without a physical keyboard?
It would be great if text within the Treelist section of the Gantt chart would wrap.
Configuring the rowHeight increases the height of the table row, but the long text is still not wrapped. Here is a sample dojo demonstrating the current behavior: https://dojo.telerik.com/EtEViREL
An ideal solution would be something that increases the size of the corresponding timeline row to match the treeview row, and to move down things like dependency arrows so it looks like everything still matched properly.
I have a gantt chart with tasks, resources, and assignments. I want to enforce a many-to-one relationship between tasks and resources, that is, I want to be able to assign a single resource to any number of tasks, but each task can only have 1 resource at a time. A (conceptually) simple sample implementation would be to change the checkboxes to a radiobutton in the 'assign' dialog window, from the 'edit' dialog.
I understand there is currently no way to enforce this type of relationship or the restrict the user from selecting more than 1 assignment in the assignment dialog window, so I am requesting a way to do either (or both) of these things. I would imagine a setting in the gantt or taskDataSource for enforcing the relationship, or a setting in the assignment field for switching the dialog box to radio button like behaviour.
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.
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.
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 .
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
When tasks on the same level are dragged and dropped in order to change their relationship as parent - child, the entire Gantt collapses
The entire Gantt is collapsed.
The current expanded/collapsed state should not be changed.
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
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.
Bug report
Error is thrown in the console when an event is dragged.
Reproduction of the problem
Dojo: https://dojo.telerik.com/ORuSEYoW
Expected/desired behavior
Error shall not appear
Environment
Kendo UI version: [all]
jQuery version: [all]
Browser: all