Skip to main content Skip to complementary content
Close announcements banner

getData method

getData(qPages)

Method used to get data from the Engine for this object.

Returns

Returns a promise of qDataPages.

Tip noteFor more information regarding a promise, see http://docs.angularjs.org/api/ng.$q.

Parameters

Name Type Description
qPages Array An array of NxPage objects.

Example

var self = this, requestPage = [{ qTop : i + this.currpos, qLeft : 0, qWidth : 10, qHeight : this.displayrows }]; this.backendApi.getData(requestPage).then(function(dataPages) { self.paint($element); });

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!