Hide Timeline View

4 posts, 0 answers
  1. Jason
    Jason avatar
    9 posts
    Member since:
    Jan 2009

    Posted 08 Aug 2014 Link to this post

    I am interested in the functionality of the Gantt control, but I don't want to display the timeline view. I only want the treelist view.

    Is there a way to hide the timeline view? I know there are a bunch of view options (day, week, month, etc), but I don't see one for "none", so I don't know if this is possible or not.

    If not, is that because there is a different control that offers the same functionality that I should be using?

    Thanks!
    Jason

  2. Bozhidar
    Admin
    Bozhidar avatar
    1102 posts

    Posted 11 Aug 2014 Link to this post

    Hello Jason,

    Could you be more specific about what functionality exactly you are looking for? We have a TreeList widget in the works, and you could follow it's status here:
    http://kendoui-feedback.telerik.com/forums/127393-telerik-kendo-ui-feedback/suggestions/2875962-implement-treelist-widget

    As for the gantt itself, it's not designed to allow modular usage of the Treelist or Timeline portions. You could use CSS to hide the timeline, however keep in mind that we don't recommend this:
    .k-gantt-layout.k-gantt-timeline,
    .k-gantt-layout.k-splitbar {
        display: none;
    }
     
    html .k-gantt-layout.k-gantt-treelist {
        width: 100% !important;
    }


    Regards,
    Bozhidar
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Jason
    Jason avatar
    9 posts
    Member since:
    Jan 2009

    Posted 11 Aug 2014 in reply to Bozhidar Link to this post

    Hi Bozhidar,
    Thanks for the reply.

    My specific use case is for project management (keeping track of progress against a collection of tasks / subtasks). I think the treelist widget would do it. It just seems like hiding the timeline view in the gantt control would be easier than having another widget. 
  5. Bozhidar
    Admin
    Bozhidar avatar
    1102 posts

    Posted 12 Aug 2014 Link to this post

    Hi Jason,

    If hiding the timeline works well and satisfies the needs of your application scenario - go ahead and use the CSS solution below. Again, I would like to note that the Gantt is not designed to work as a standalone TreeList widget.

    Regards,
    Bozhidar
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
UI for ASP.NET MVC is VS 2017 Ready