Documentation Bug

2 posts, 0 answers
  1. Shawn
    Shawn avatar
    30 posts
    Member since:
    Mar 2011

    Posted 27 Jul 2012 Link to this post

    In the documentation here:

    http://docs.kendoui.com/api/framework/datasource 

    You state under the transport.update section (and probably read, create and delete too) you state:

    var dataSource = new kendo.data.DataSource({
        transport: {
            update: function(options) {
                // make AJAX request to the remote service
     
                $.ajax( {
                    url: "/orders/update",
                    data: options,
                    success: function(result) {
                        // notify the DataSource that the operation is complete
     
                        options.success(result);
                    }
                });
            }
        }
    });

    It should say "data: options.data," not "data: options,".


  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 30 Jul 2012 Link to this post

    Hello Shawn,

     Thank you for pointing this out. I will fix it right away!

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