Wijmo UI for the Web
Promises
Wijmo User Guide > Data > Data Concepts > Promises

Like jQuery promises in Ajax, once you have a reference to a promise you can call its .then() method to handle when data loads in one of the DataView objects. The refresh method of each DataView ojbect returns a JQueryDeferred object. For more information, see http://api.jquery.com/deferred.then/

Refresh promise
Copy Code
mydataview.refresh().then(function() {
    //fires when loaded
});

 

See Also

Reference