Hello, i'm creating a Gantt Chart and i have two issues:
1) If i change the task template to remove task name inside task, the task height is reduced.
Using this template:
1.
<
script
id
=
"task-template"
type
=
"text/x-kendo-template"
>
2.
<
div
class
=
"template"
>
3.
<
div
class
=
"wrapper"
> </
div
>
4.
<
div
class
=
"progress"
style
=
"width:#= (100 * parseFloat(percentComplete)) #%"
> </
div
>
5.
</
div
>
6.
</
script
>
Check how it looks like: https://www.screencast.com/t/FoXLG7lQNQoh
2) I am creating dependencies with type 1 but i'm getting the following location for dependency row.. It should start at the enf of the task, but it is starting in the middle.
Check how it looks like: https://www.screencast.com/t/FoXLG7lQNQoh
In Html i'm importing this:
1.
<
link
rel
=
"stylesheet"
href
=
"http://kendo.cdn.telerik.com/2017.3.1018/styles/kendo.common-material.min.css"
/>
2.
<
link
rel
=
"stylesheet"
href
=
"http://kendo.cdn.telerik.com/2017.3.1018/styles/kendo.material.min.css"
/>
3.
<
script
src
=
"http://kendo.cdn.telerik.com/2017.3.913/js/kendo.all.min.js"
type
=
"text/javascript"
></
script
>
4.
<
script
src
=
"http://kendo.cdn.telerik.com/2017.3.913/js/kendo.timezones.min.js"
type
=
"text/javascript"
></
script
>
This is my data:
Parent Task:
{"ID":2,"Title":"ParentTask","ParentID":null,"OrderID":0,"Start":"2017-04-21T11:23:25","End":"2017-04-22T11:47:25","PercentComplete":0,"Summary":true,"Expanded":true,"ItemNo":"Item1"}
Child Tasks:
{"ID":3,"Title":"Op1","ParentID":2,"OrderID":0,"Start":"2017-04-21T11:23:25","End":"2017-04-21T19:31:25","PercentComplete":0,"Summary":false,"Expanded":true,"ItemNo":""}
{"ID":4,"Title":"Op2","ParentID":2,"OrderID":1,"Start":"2017-04-21T19:31:25","End":"2017-04-22T03:39:25","PercentComplete":0,"Summary":false,"Expanded":true,"ItemNo":""}
{"ID":5,"Title":"Op3","ParentID":2,"OrderID":2,"Start":"2017-04-22T03:39:25","End":"2017-04-22T11:47:25","PercentComplete":0,"Summary":false,"Expanded":true,"ItemNo":""}
Dependencies:
{"ID":4,"PredecessorID":3,"SuccessorID":4,"Type":1}
{"ID":5,"PredecessorID":4,"SuccessorID":5,"Type":1}
Could anybody give me some workaround for both issues?
Thank you so much