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

Scheduler event not positioned correctly on initial load

3 Answers 123 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Manish
Top achievements
Rank 1
Manish asked on 19 Feb 2015, 05:30 PM
Hi,

I have a scheduler with groups and it show's up as part of Foundation's reveal modal. The scheduler is configured with one event, but on initial draw the event does not show up at correct spot. Once i tab between different views (timeline and timeline week), it appears at correct location. Here is a screenshot of how it shows up initially, you can see it in the left corner (it is supposed to show up at 6 PM column and is 1 hour long). I can provide with code snippet if needed.

Thanks,
Manish

3 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 23 Feb 2015, 08:47 AM
Hello Manish,

Could you please provide runable example where the issue is reproduced? This would help is identify the exact reason for current behavior. 

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Manish
Top achievements
Rank 1
answered on 23 Feb 2015, 06:26 PM
Hi Vladimir,

You can reproduce it here:
http://dojo.telerik.com/EtohO

On initial load the view just does not show up properly. Once you click on any other tab, it redraws correctly.

Thanks,
Manish
0
Vladimir Iliev
Telerik team
answered on 24 Feb 2015, 07:13 AM
Hello Manish,

Current behavior is expected as the scheduler doesn't support initialization from hidden container. In current case you should initialize the scheduler when the dialog is visible (already opened) or refresh the current view as follows:

var scheduler =  $("#scheduler").getKendoScheduler();
scheduler.view(scheduler.view().name);

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