Removing the footer options from kendo scheduler pop up

3 posts, 2 answers
  1. developer
    developer avatar
    58 posts
    Member since:
    Nov 2015

    Posted 02 Aug Link to this post

    I wanted to remove the save and cancel options that are  appearing by default in kendo scheduler pop up.I had gone through the Scheduler Api source but didn't find the way in which I could achieve it.Any help will be appreciated.Please find the attachment for more info.

    Thanks

  2. Answer
    Grant
    Grant avatar
    42 posts
    Member since:
    Jul 2016

    Posted 02 Aug in reply to developer Link to this post

    Hi Developer, 

    I can think of a couple options that could help you;

    1) Hide the DIV that hold the buttons when the window opens (below)

    $("#scheduler").kendoScheduler({
      editable: {
        window: {
          //(optional) will prevent the buttons from appearing (on window load) then disappearing
          animation: false,
          //listen to 'activate' instead of 'open' as all opening animation will be complete
          activate: function() {
            //this = kendoUI Window widget
            this.wrapper.find("div.k-edit-buttons").hide();
          }
        }
      }
    });

    2) Create your own window template that doesn't have any buttons, here is a demo.

    Good Luck,

    Grant

  3. Kendo UI is VS 2017 Ready
  4. Answer
    Grant
    Grant avatar
    42 posts
    Member since:
    Jul 2016
Back to Top