Binding KendoUI Grid to Dynamic Column and Values

2 posts, 0 answers
  1. Rasika
    Rasika avatar
    18 posts
    Member since:
    Jul 2015

    Posted 14 Aug 2015 Link to this post

    I did this using your this answer .......
    But I try to implement update functionality like below 


        transport : {
                            update: {
                                url: function (item) {
                                    return "myURL" +;
                                contentType: "application/json; charset=utf-8",
                                dataType: "json",
                                type: "put"


    But when I press update button It did not trigger  the update function..

    Where should I look at ??


    Thank you


  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    2062 posts

    Posted 19 Aug 2015 Link to this post

    Hello Rasika,

    In this example the model id fields are not set for the data items (they all have an empty id value). In this case if you try to sync the data source with the server the edited item will be considered as new item and the create operation will be called instead. This is the reason why the update operation is not called. 

    Please set an integer values for the model id and then the update should be fired properly. 

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