How can I access values in popup editor in CRUD ops

2 posts, 0 answers
  1. Michael
    Michael avatar
    24 posts
    Member since:
    Jan 2016

    Posted 15 Sep 2016 Link to this post

    Hi. In the standard Kendo Datasource usage with a scheduler (partial code), 

    dataSource: {
                            batch: true,
                            transport: {
                                read: {
                                    url: baseURL + "api/events",
                                    dataType: "jsonp",
                                    type: "GET",
                                    contentType: 'application/json; charset=utf-8'
                                },
                                update: {
                                    url: function (options) {
                                        var model = {
                                            taskId: 1,
                                            title: "test title",
                                            start: null,
                                            end: null,
                                            startTimezone: null,
                                            endTimezone: null,
                                            description: null,
                                            recurrenceRule: null,
                                            isAllDay: false
                                        };
    I'd like to be able to access the values from the popup editor and throw them in the model. See all the nulls as placeholders above...I know this isn't standard protocol of doing things but...I'm just wondering, can it be done, and how?

  2. Michael
    Michael avatar
    24 posts
    Member since:
    Jan 2016

    Posted 16 Sep 2016 in reply to Michael Link to this post

    Figured it out. Using the save event.
Back to Top