This is a migrated thread and some comments may be shown as answers.

How to get the sync promise to work

1 Answer 254 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Scott Waye
Top achievements
Rank 2
Veteran
Iron
Scott Waye asked on 15 Nov 2016, 04:13 PM

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?

 

 

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 16 Nov 2016, 01:58 PM

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.
Tags
Data Source
Asked by
Scott Waye
Top achievements
Rank 2
Veteran
Iron
Answers by
Nikolay Rusev
Telerik team
Share this question
or