code: function (oRequest, oResponse, oPayload) {
      oPayload = this.handleDataReturnPayload(oRequest, oResponse, oPayload);
      if(oPayload) {
          // Update pagination
          var oPaginator = this.get('paginator');
          if (oPaginator) {
              // Update totalRecords
              if(this.get("dynamicData")) {
                  if (widget.Paginator.isNumeric(oPayload.totalRecords)) {
                      oPaginator.set('totalRecords',oPayload.totalRecords);
                  }
              }
              else {
                  oPaginator.set('totalRecords',this._oRecordSet.getLength());
              }
              // Update other paginator values
              if (lang.isObject(oPayload.pagination)) {
                  oPaginator.set('rowsPerPage',oPayload.pagination.rowsPerPage);
                  oPaginator.set('recordOffset',oPayload.pagination.recordOffset);
              }
          }
  
          // Update sorting
          if (oPayload.sortedBy) {
              // Set the sorting values in preparation for refresh
              this.set('sortedBy', oPayload.sortedBy);
          }
          // Backwards compatibility for sorting
          else if (oPayload.sorting) {
              // Set the sorting values in preparation for refresh
              this.set('sortedBy', oPayload.sorting);
          }
      }
  }
docs: Updates the DataTable with state data sent in an onDataReturn* payload.
  
  @method handleDataReturnPayload
  @param oRequest {MIXED} Original generated request.
  @param oResponse {Object} Response object.
  @param oPayload {MIXED} State values