Problem displaying tasks in Gantt

8 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. 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?
  4. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2527 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!
     
  5. 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
  6. Alex
    Alex avatar
    76 posts
    Member since:
    May 2015

    Posted 14 Dec 2018 Link to this post

    I believe I am having the same issue. What was the fix?
  7. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    1240 posts

    Posted 18 Dec 2018 Link to this post

    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.
  8. Alex
    Alex avatar
    76 posts
    Member since:
    May 2015

    Posted 18 Dec 2018 in reply to Veselin Tsvetanov Link to this post

    I ended up refreshing the gantt upon viewing it as mentioned in another forum post
Back to Top