Base class for all data validations rules which can be applied to a cell.
Constructors
Section titled "Constructors"DataValidationRule
new DataValidationRule(): DataValidationRule Returns DataValidationRule
Properties
Section titled "Properties"$t: Type errorMessageDescription
Section titled "errorMessageDescription"errorMessageDescription: string errorMessageTitle
Section titled "errorMessageTitle"errorMessageTitle: string errorStyle
Section titled "errorStyle"errorStyle: DataValidationErrorStyle imeMode
Section titled "imeMode"imeMode: DataValidationImeMode inputMessageDescription
Section titled "inputMessageDescription"inputMessageDescription: string inputMessageTitle
Section titled "inputMessageTitle"inputMessageTitle: string showErrorMessageForInvalidValue
Section titled "showErrorMessageForInvalidValue"showErrorMessageForInvalidValue: boolean showInputMessage
Section titled "showInputMessage"showInputMessage: boolean Methods
Section titled "Methods"clone
Section titled "clone"Creates a copy of this rule which can be applied to other worksheets.
clone(): DataValidationRule Returns DataValidationRule
isEquivalentTo
Section titled "isEquivalentTo"Indicates if this rule is structurally equivalent to another.
isEquivalentTo(other: DataValidationRule): boolean Parameters
- other:
DataValidationRuleThe rule to compare against