This is a migrated thread and some comments may be shown as answers.
Problem displaying tasks in Gantt
7 Answers 118 Views
This is a migrated thread and some comments may be shown as answers.
Jens
Top achievements
Rank 1
Jens asked on 08 Sep 2014, 10:31 AM
Hello,

I am facing a problem getting my gantt charts to render properly. I am generating the gantt charts from JavaScript using the attached code.

The data that is entered into the datasource is also attached (in Excel), as well as the resulting look of the gantt chart (please observe that the titles and dates of tasks are OK in the list on the left).

The div I render to is part of a rather big page construct, and is on a kendo Tabstrip that is initially hidden. I am aware that when the initially hidden gantt tab is activated I need to re-render, and I believe I had it all working in version 2014.2.716, but not in my current version 2014.2.903

What am I missing - any advice?

7 Answers, 1 is accepted

Sort by
0
Jens
Top achievements
Rank 1
answered on 08 Sep 2014, 10:33 AM
PS: I edited the name of the gantt DIV in the javascript and there is a missing quote in the edit - that's not the case in the live code
0
Jens
Top achievements
Rank 1
answered on 08 Sep 2014, 05:30 PM
Well, just tested rendering the Gantt chart in an "outer DIV" - which is much closer to the body tag. And then the exact same Gantt displays correctly.

I don't really understand this: shouldn't kendoGantt be "robust enough" to be rendered just about anywhere in the DOM? Like in my case, inside 10 levels of divs and tables?
0
Alex Gyoshev
Telerik team
answered on 10 Sep 2014, 08:22 AM
Hello Jens,

We are not aware of such a limitation in the Kendo UI Gantt. While the number of DOM nodes can significantly slow a page down, the widget should still be functional. Calling kendo.resize on the gantt wrapper after it has been shown should resize it correctly. Can you please provide a sample that shows the problem?

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Jens
Top achievements
Rank 1
answered on 10 Sep 2014, 08:54 AM
Hello Alex: Thanks for your answer. In the meantime, I've created a support ticket regarding the same issue, and attached to this support ticket, I've supplied the HTML etc. showing that the gantt does not render correctly (I did attach a screenshot of the same problem to this post). Hope you will be able to find a way around this - quite important for us that the gantt chart works.

Best,

Jens
0
Alex
Top achievements
Rank 1
answered on 14 Dec 2018, 06:27 PM
I believe I am having the same issue. What was the fix?
0
Veselin Tsvetanov
Telerik team
answered on 18 Dec 2018, 12:08 PM
Hello Alex,

We did not have the chance to deeply investigate and isolate the issue discussed above. What I could share with you is that the Gantt chart was used in a SharePoint project.

May I ask you to prepare and send us an isolated runnable sample reproducing the problem? You could use our Dojo sandbox to create that demo project.

Regards,
Veselin Tsvetanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Alex
Top achievements
Rank 1
answered on 18 Dec 2018, 07:19 PM
I ended up refreshing the gantt upon viewing it as mentioned in another forum post
Tags
Gantt
Asked by
Jens
Top achievements
Rank 1
Answers by
Jens
Top achievements
Rank 1
Alex Gyoshev
Telerik team
Alex
Top achievements
Rank 1
Veselin Tsvetanov
Telerik team
Share this question
or