This is a migrated thread and some comments may be shown as answers.

Gantt inside a TabStrip

1 Answer 74 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
George
Top achievements
Rank 1
George asked on 22 Feb 2016, 09:42 PM

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: http://dojo.telerik.com/UCETu.

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

Thanks,

George.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimitar Terziev
Telerik team
answered on 24 Feb 2016, 03:25 PM
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.

Regards,
Dimitar Terziev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Gantt
Asked by
George
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or