How to get the sync promise to work

2 posts, 0 answers
  1. Scott Waye
    Scott Waye avatar
    146 posts
    Member since:
    Nov 2009

    Posted 15 Nov 2016 Link to this post

    Hi,

    Please have a look at http://jsbin.com/noqaqitoko/edit?html,css,js,console,output

    I've tried to hook something up to the sync promise, but it is not called, why is that?

     

     

  2. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2287 posts

    Posted 16 Nov 2016 Link to this post

    Hello Scott Waye,

     

    You should complete the update request.

    For example:

       update: function(options) {
          alert('update');             
          options.success([options.data])
        }

     

     

    http://jsbin.com/wenabicosa/1/edit?js,output

     

    Regards,

    Nikolay Rusev

    Telerik by Progress

    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.
Back to Top