Base class for all data validations rules which can be applied to a cell.

DataValidationRule

new DataValidationRule(): DataValidationRule

Returns DataValidationRule

$t: Type
errorMessageDescription: string
errorMessageTitle: string
errorStyle: DataValidationErrorStyle
imeMode: DataValidationImeMode
inputMessageDescription: string
inputMessageTitle: string
showErrorMessageForInvalidValue: boolean
showInputMessage: boolean

Creates a copy of this rule which can be applied to other worksheets.

clone(): DataValidationRule

Returns DataValidationRule

Indicates if this rule is structurally equivalent to another.

isEquivalentTo(other: DataValidationRule): boolean

Parameters

Returns boolean