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

Databound to modify series of events.

2 Answers 113 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Brett
Top achievements
Rank 1
Brett asked on 20 Jun 2016, 03:25 PM

I'm currently using the dataBound tag to modify events to set the opacity if a condition is not met. This is working great for single events; However if I add a new series of events only the first one sets as expected. The other events in the series do not change. I see the other events have different id's. Is there a way for me to access these other events that are created?

 

Here is an example, Just modify the task to be a series.

http://dojo.telerik.com/@bbmicha/ayEtO/5

 

Thanks!

2 Answers, 1 is accepted

Sort by
0
Accepted
Vladimir Iliev
Telerik team
answered on 22 Jun 2016, 08:21 AM
Hello Brett,

The reason for current behavior is that you are not getting the events from the Scheduler where they are expanded but from the dataSource which contains only the recurrence heads. To achieve the desired behavior you should use the "data" method of the Scheduler:

var events = this.data();

Regards,
Vladimir Iliev
Telerik
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
0
Brett
Top achievements
Rank 1
answered on 22 Jun 2016, 02:37 PM
That worked thank you Vladimir!
Tags
Scheduler
Asked by
Brett
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Brett
Top achievements
Rank 1
Share this question
or