src/connectors/appscript-connector.js
/**
   * initValidations - Reset all validation rules in the validationsMaps.
   */
Reset all validation rules in the validationsMaps.
Reset all validation rules in the validationsMaps .
initValidations() {
    this.validationsMaps.forEach(mapping => {
      let targetRange = this.getColumnRange(
          this.getTabId(mapping.targetTab), mapping.targetProperty);
      let validationRange = this.getColumnRange(
          this.getTabId(mapping.validationTab), mapping.validationProperty);
      let rule = SpreadsheetApp.newDataValidation().requireValueInRange(
          validationRange).build();
      targetRange.setDataValidation(rule);
    });
  }
initValidations ( ) { this . validationsMaps . forEach ( mapping => { let targetRange = this . getColumnRange ( this . getTabId ( mapping . targetTab ) , mapping . targetProperty ) ; let validationRange = this . getColumnRange ( this . getTabId ( mapping . validationTab ) , mapping . validationProperty ) ; let rule = SpreadsheetApp . newDataValidation ( ) . requireValueInRange ( validationRange ) . build ( ) ; targetRange . setDataValidation ( rule ) ; } ) ; }
initValidations - Reset all validation rules in the validationsMaps.
initValidations - Reset all validation rules in the validationsMaps .