appendDataList()

in src/connectors/sheets-connector.js [148:159]


  appendDataList(tabId, newItems, options) {
    options = options || {};
    let sheets = options.sheets || {};

    // Use the last row index as base for appending items.
    let lastRowIndex = this.getTabLastRow(tabId) + 1;
    this.appendDataListExec(tabId, newItems, (item, rowIndex) => {
      rowIndex = lastRowIndex;
      lastRowIndex++;
      return rowIndex;
    } /* rowIndexFunc */);
  }