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 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
    2172 posts

    Posted 26 Jul 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. Kendo UI is VS 2017 Ready
  4. Naga gopichand
    Naga gopichand avatar
    7 posts
    Member since:
    Jul 2016

    Posted 26 Jul 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

  5. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 27 Jul 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.
     
  6. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 27 Jul 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
Kendo UI is VS 2017 Ready