Gantt inside a TabStrip

2 posts, 1 answers
  1. George
    George avatar
    16 posts
    Member since:
    Mar 2012

    Posted 22 Feb Link to this post

    Hello Team,

    Recently, I upgraded my web app to use Kendo's latest version of UI for ASP.NET MVC i.e. 2016 Q1. Everything worked perfectly fine except a small problem with Gantt inside a TabStrip. Please take a look at this snippet:

    It works fine but It just keeps the columns area collapsed by default. Any suggestions?



  2. Answer
    Dimitar Terziev
    Dimitar Terziev avatar
    1266 posts

    Posted 24 Feb Link to this post

    Hi George,

    The reason for the experienced behavior is the fact that the gantt widget performs size calculations upon initialization and since it is initialized in initially invisible container, these calculations are not correct. In order to overcome this behavior, please initialize the widget once the tab is activated as shown in the following dojo snippet.

    Dimitar Terziev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top