src/connectors/appscript-connector.js
/**
   * updateResultList - Override the Results with specific rowIndex.
   * @param  {Array<object>} newResults Array of new Results
   */
Override the Results with specific rowIndex.
@param  {Array} newResults Array of new Results
Override the Results with specific rowIndex . @param { Array } newResults Array of new Results
updateResultList(newResults, options) {
    options = options || {};
    let appscript = options.appscript || {};
    let tabId = appscript.resultsTab || this.defaultResultsTab;
    let tabConfig = this.tabConfigs[tabId];
    let rowIndex = tabConfig.skipRows + 1;
    this.updateList(tabId, newResults, (result, rowIndex) => {
      return result.appscript.rowIndex;
    } );
  }
updateResultList ( newResults , options ) { options = options || { } ; let appscript = options . appscript || { } ; let tabId = appscript . resultsTab || this . defaultResultsTab ; let tabConfig = this . tabConfigs [ tabId ] ; let rowIndex = tabConfig . skipRows + 1 ; this . updateList ( tabId , newResults , ( result , rowIndex ) => { return result . appscript . rowIndex ; } ) ; }
updateResultList - Override the Results with specific rowIndex.
updateResultList - Override the Results with specific rowIndex .
// If tabId is not specified, use the default Results tabId. /* rowIndexFunc */