Set an event to display after every 3 days.

5 posts, 1 answers
  1. Naga gopichand
    Naga gopichand avatar
    7 posts
    Member since:
    Jul 2016

    Posted 25 Jul 2016 Link to this post

    Hello i wanted to know if there is a way to display an event after every 3 days.

     

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

     

    In the above example i have few events and i wanted to display those events continuously for every 3 days irrespective of date.

  2. Answer
    Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2185 posts

    Posted 26 Jul 2016 Link to this post

    Hi Naga,


    You can achieve the desired behavior by setting the following recurring rule to the desired events:

    {
        Start: date,
        End: date,
        Title: "Test",
        IsAllDay: true,
        Description: "test",
        Employees: [1],
        RecurrenceRule: "FREQ=DAILY;INTERVAL=3",
    },

    Regards,
    Vladimir Iliev
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Naga gopichand
    Naga gopichand avatar
    7 posts
    Member since:
    Jul 2016

    Posted 26 Jul 2016 in reply to Vladimir Iliev Link to this post

    i tried this in my example but did not work for me

    http://dojo.telerik.com/EWIBo/12

  4. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2185 posts

    Posted 27 Jul 2016 Link to this post

    Hello Naga,

    From the provided link it seems that the "recurrenceRule" field is not added to the dataSource "schema.model.fields".

    Regards,
    Vladimir Iliev
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  5. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2185 posts

    Posted 27 Jul 2016 Link to this post

    Hello Naga,

    Here is the example configuration:

    schema: {
      model: {
        id: "shiftID",
          fields: {
            recurrenceRule: {from: "RecurrenceRule"},

    Regards,
    Vladimir Iliev
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
Back to Top