excol
Options
All
  • Public
  • Public/Protected
  • All
Menu

DataValidationBuilder class.

Hierarchy

  • DataValidationBuilder

Index

Constructors

constructor

Methods

build

requireDate

requireDateAfter

requireDateBefore

requireDateBetween

  • Sets the data-validation rule to require a date between the given values, inclusive of the values themselves. The time fields of the Date objects are ignored; only the day, month, and year fields are used.

    Parameters

    • start: Date
    • end: Date

    Returns DataValidationBuilder

requireDateEqualTo

requireDateNotBetween

  • Sets the data-validation rule to require a date not between the given values, inclusive of the values themselves. The time fields of the Date objects are ignored; only the day, month, and year fields are used.

    Parameters

    • start: Date
    • end: Date

    Returns DataValidationBuilder

requireDateOnOrAfter

requireDateOnOrBefore

requireFormulaSatisfied

requireNumberBetween

requireNumberEqualTo

requireNumberGreaterThan

requireNumberGreaterThanOrEqualTo

requireNumberLessThan

requireNumberLessThanOrEqualTo

requireNumberNotBetween

requireNumberNotEqualTo

requireTextContains

requireTextDoesNotContain

requireTextEqualTo

requireTextIsEmail

requireTextIsUrl

requireValueInList

  • Sets the data-validation rule to require that the input is equal to one of the given values.

    Sets the data-validation rule to require that the input is equal to one of the given values, with an option to hide the dropdown menu.

    Parameters

    • values: string[]
    • Optional showDropdown: undefined | true | false

    Returns DataValidationBuilder

requireValueInRange

  • Sets the data-validation rule to require that the input is equal to a value in the given range.

    Sets the data-validation rule to require that the input is equal to a value in the given range, with an option to hide the dropdown menu.

    Parameters

    • range: Range
    • Optional showDropdown: undefined | true | false

    Returns DataValidationBuilder

setAllowInvalid

setHelpText

withCriteria

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc