๐Ÿ’พsheet.appendConditionalFormatRule()

GAS โŸฉ app โŸฉ prototypes โŸฉ sheet.prototype โŸฉ appendConditionalFormatRule()

  // โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
  // โ”‚ formatting Ranges  โ”‚
  // โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

  // ๐Ÿ”ธ sheet.appendConditionalFormatRule()
  appendConditionalFormatRule(rule){
    var rules = this.getConditionalFormatRules();
    rules.push(rule);
    this.setConditionalFormatRules(rules);
  },

Last updated

Was this helpful?