Problem displaying tasks in Gantt

5 posts, 0 answers
  1. Jens
    Jens avatar
    7 posts
    Member since:
    May 2014

    Posted 08 Sep 2014 Link to this post

    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?
  2. Jens
    Jens avatar
    7 posts
    Member since:
    May 2014

    Posted 08 Sep 2014 in reply to Jens Link to this post

    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
  3. Kendo UI is VS 2017 Ready
  4. Jens
    Jens avatar
    7 posts
    Member since:
    May 2014

    Posted 08 Sep 2014 Link to this post

    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?
  5. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 10 Sep 2014 Link to this post

    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!
     
  6. Jens
    Jens avatar
    7 posts
    Member since:
    May 2014

    Posted 10 Sep 2014 in reply to Alex Gyoshev Link to this post

    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
Back to Top
Kendo UI is VS 2017 Ready