Skip to content

Instantly share code, notes, and snippets.

@goofmint
Last active May 27, 2016
Embed
What would you like to do?
setData: function(data, dummyColNums) {
if (h5.async.isPromise(data)) {
var indicator = this.indicator();
indicator.show();
data.done(this.own(function(d) {
this.setData(d, dummyColNums);
indicator.hide();
}));
return;
}
this._gridWrapperController.setData(data, dummyColNums);
this.$find('.dataLength').text(data.length);
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment