Databound to modify series of events.

3 posts, 1 answers
  1. Brett
    Brett avatar
    6 posts
    Member since:
    Jun 2016

    Posted 20 Jun Link to this post

    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. Answer
    Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 22 Jun Link to this post

    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.
     
  3. Kendo UI is VS 2017 Ready
  4. Brett
    Brett avatar
    6 posts
    Member since:
    Jun 2016

    Posted 22 Jun in reply to Vladimir Iliev Link to this post

    That worked thank you Vladimir!
Back to Top