Create Event Programmatically

3 posts, 1 answers
  1. Reafidy
    Reafidy avatar
    18 posts
    Member since:
    Sep 2014

    Posted 12 Jun Link to this post

    I have the scheduler set to timelinemonth view.  I would like to create events in the scheduler by simply clicking on the day for a particular attendee.  I cant find a way to create the event programmatically without showing the dialog.  Unfortunately the "add event" method simply shows the dialog. 

    I can call the create method in the controller from jquery but then I would have to refresh the page to show the new data.  

  2. Answer
    Nencho
    Admin
    Nencho avatar
    1646 posts

    Posted 15 Jun Link to this post

    Hello Reafidy,

    You can use tthe dataSource object of the Scheduler and add the new event directly in the collection. Please refer to the following dojo example and documentation article on the add method of the DataSource:

    http://dojo.telerik.com/@nenchef/eSere/4


    http://docs.telerik.com/kendo-ui/api/javascript/data/datasource#methods-add


    Hope this would help.

    Regards,
    Nencho
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Reafidy
    Reafidy avatar
    18 posts
    Member since:
    Sep 2014

    Posted 15 Jun in reply to Nencho Link to this post

    Thanks Nencho. 
Back to Top