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

Calendar refreshes incorrectly

3 Answers 34 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Mirek
Top achievements
Rank 1
Mirek asked on 13 Feb 2017, 12:07 PM

Hello,

I have Scheduler in boostrap tab component. I have two tabs 1 -with scheduler, 2 -with action which can add new events to it by interaction with dataSource.

I discovered that when I'm in second tab and add new event to calendar then calendar refreshes incorrectly. Snippet in DOJO presents this

http://dojo.telerik.com/ISEbUr/3

3 Answers, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 14 Feb 2017, 08:14 AM
Hello Mirek,

In order for the events to be rendered properly when showing a hidden Scheduler, its view needs to be refreshed: scheduler.view(scheduler.view().name);
Here's a link to the dojo example modified accordingly.

Regards,
Ivan Danchev
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Mirek
Top achievements
Rank 1
answered on 14 Feb 2017, 08:36 AM
When I executed scheduler.view(scheduler.view().name); scheduler makes ajax call to backend for data. But I don't want this, is waste of resource + blinking beacuase it refresh all events.
0
Accepted
Ivan Danchev
Telerik team
answered on 15 Feb 2017, 02:06 PM
Hello Mirek,

As an alternative you can use the Scheduler's refresh method. Updated dojo.

Regards,
Ivan Danchev
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Scheduler
Asked by
Mirek
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Mirek
Top achievements
Rank 1
Share this question
or