Gantt Databound issue and timeline headers style

3 posts, 0 answers
  1. Hajrija
    Hajrija avatar
    11 posts
    Member since:
    Oct 2014

    Posted 03 Apr 2015 Link to this post

    Hi, 

    I am using Gantt and I have few issues.

    1. When Gantt is first loaded it doesn't display task timeline. I have to select some other view first in order for it to appear.
    2. If I use databoud event to set view ( var gantt = $("#Gantt").data("kendoGantt");
            gantt.view("week"); )  I have error Uncaught RangeError: Maximum call stack size exceeded. if i comment this all code in databoud  function executes fine


    Is there any way to hide weeks if view is set to month view? Our client wants just to track by months since all projects are monthly.
    Also can we hide days or hours if week and day view is selected.

    Thank You
  2. Hajrija
    Hajrija avatar
    11 posts
    Member since:
    Oct 2014

    Posted 04 Apr 2015 in reply to Hajrija Link to this post

    i just want to follow up on previous question. i realized that setting wiev is reading data again and that why i get stack error. still I have problem with not displaying chart when gantt is loaded. do you have any solution. 

    also are dependencies required? i am using latest version but dependencies are required. 

  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Bozhidar
    Admin
    Bozhidar avatar
    1101 posts

    Posted 06 Apr 2015 Link to this post

    Hi,

    I've attached a sample project where the Gantt widget is displayed. Run it on your end and see if it's working or if the issue is still reproduced.

    Also in the project I selected YearView, but hidden the top row, so that only months are shown, as per your requirement. Please note that I chose to hide the top row instead of the bottom one, since the columns in the timeline are aligned to the bottom row of headers, and hiding the bottom one will produce misaligned results.

    You just have to put in the Kendo.Mvc dll in the project in order to test it.

    Regards,
    Bozhidar
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top