var instance = new wijmo.data.ArrayDataView(); var value; // Type: any value = instance.refresh();
function refresh() : any;
The refresh method reloads the DataView, and returns a resolved promise object:
$.Deferred().resolve().promise()
var instance = new wijmo.data.ArrayDataView(); var value; // Type: any value = instance.refresh();
function refresh() : any;
Unlike AjaxDataView, ODataView, and BreezeDataView objects, only successful callbacks are called. If you define a fail callback in the .then() method, it is never called, so we can only define a success callback in the .then() method of the ArrayDataView refresh object.
arrayDataView.refresh().then( function(){ alert("Refresh Success!"); } );