src/connectors/appscript-connector.js
/**
   * clearList - Clear the entire list of a specific tab.
   * @param {string} tabId The keys of tabConfigs. E.g. "testsTab"
   */
Clear the entire list of a specific tab.
@param {string} tabId The keys of tabConfigs.
Clear the entire list of a specific tab . @param { string } tabId The keys of tabConfigs .
clearList(tabId) {
    let tabConfig = this.tabConfigs[tabId];
    let sheet = this.getSheet(tabId);
    let lastRow = sheet.getLastRow();
    if (lastRow > tabConfig.skipRows) {
      sheet.deleteRows(tabConfig.skipRows + 1, lastRow - tabConfig.skipRows);
      sheet.insertRowAfter(tabConfig.skipRows);
      sheet.setRowHeight(tabConfig.skipRows + 1, 24 );
      let lastRowRange = this.getRowRange(tabId, tabConfig.skipRows + 1);
      lastRowRange.clear();
    }
  }
clearList ( tabId ) { let tabConfig = this . tabConfigs [ tabId ] ; let sheet = this . getSheet ( tabId ) ; let lastRow = sheet . getLastRow ( ) ; if ( lastRow > tabConfig . skipRows ) { sheet . deleteRows ( tabConfig . skipRows + 1 , lastRow - tabConfig . skipRows ) ; sheet . insertRowAfter ( tabConfig . skipRows ) ; sheet . setRowHeight ( tabConfig . skipRows + 1 , 24 ) ; let lastRowRange = this . getRowRange ( tabId , tabConfig . skipRows + 1 ) ; lastRowRange . clear ( ) ; } }
clearList - Clear the entire list of a specific tab.
clearList - Clear the entire list of a specific tab .
// Reset the format of the last row. /* Pixels */