how to use different template for new events

2 posts, 0 answers
  1. Alan Mosley
    Alan Mosley avatar
    200 posts
    Member since:
    Apr 2010

    Posted 05 Jan 2015 Link to this post

    I want to be able to detect when a dbl click on the scheduler is an edit of an existing event, or a new event.
    I then want to use a different template or at least be able to alter the template accordingly.
    Is tis possible, thanks?
  2. Rosen
    Rosen avatar
    3214 posts

    Posted 08 Jan 2015 Link to this post

    Hello Alan,

    You can use the edit event to check if the edited event is new one and take the appropriate action:

      edit: function(e) {
        if (e.event.isNew()) {
          alert("event is new");

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top