DataValidation

Overview

DataValidation is a class in Aspose.Cells FOSS for TypeScript.

This class declares 3 methods for DataValidation objects in TypeScript programs. Available methods include: addArea, getRanges, toXml. Public members are accessible to any TypeScript application after installing the Aspose.Cells FOSS for TypeScript package. Properties: allowBlank, errorMessage, errorStyle, errorTitle, formula1, formula2, and 6 more.

Properties

NameTypeAccessDescription
typeDataValidationType["type"]Read/WriteGets the type.
operatorDataValidationType["operator"] | undefinedRead/WriteGets the operator.
formula1string | undefinedRead/WriteGets the formula1.
formula2string | undefinedRead/WriteGets the formula2.
allowBlankbooleanRead/WriteGets the allow blank.
showDropDownbooleanRead/WriteGets the show drop down.
showInputMessagebooleanRead/WriteGets the show input message.
inputTitlestring | undefinedRead/WriteGets the input title.
inputMessagestring | undefinedRead/WriteGets the input message.
errorTitlestring | undefinedRead/WriteGets the error title.
errorMessagestring | undefinedRead/WriteGets the error message.
errorStyleDataValidationType["errorStyle"] | undefinedRead/WriteGets the error style.

Methods

SignatureDescription
addArea(range: string)Calls addArea(range) on this DataValidation instance.
getRanges()CellRange[]Returns the ranges.
toXml()stringCalls toXml on this DataValidation instance.

See Also