<dataValidation>
(Data Validation)
A single item of data validation defined on a range of the worksheet.
Parent Elements |
---|
|
Attributes |
Description |
---|---|
|
A boolean value indicating whether the data validation treats empty or blank entries as valid. '1' means empty entries are OK and do not violate the validation constraints. The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
Message text of error alert. The possible values for this attribute are defined by the ST_Xstring simple type (§3.18.96). |
|
The style of error alert used for this data validation. The possible values for this attribute are defined by the ST_DataValidationErrorStyle simple type (§3.18.19). |
|
Title bar text of error alert. The possible values for this attribute are defined by the ST_Xstring simple type (§3.18.96). |
|
The IME (input method editor) mode enforced by this data validation. Only applies for these languages:
When The possible values for this attribute are defined by the ST_DataValidationImeMode simple type (§3.18.20). |
|
The relational operator used with this data validation. The possible values for this attribute are defined by the ST_DataValidationOperator simple type (§3.18.21). |
|
Message text of input prompt. The possible values for this attribute are defined by the ST_Xstring simple type (§3.18.96). |
|
Title bar text of input prompt. The possible values for this attribute are defined by the ST_Xstring simple type (§3.18.96). |
|
A boolean value indicating whether to display the dropdown combo box for a list type data validation. The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
A boolean value indicating whether to display the error alert message when an invalid value has been entered, according to the criteria specified. The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
A boolean value indicating whether to display the input prompt message. The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
Range over which data validation is applied. The possible values for this attribute are defined by the ST_Sqref simple type (§3.18.78). |
|
The type of data validation. The possible values for this attribute are defined by the ST_DataValidationType simple type (§3.18.22). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_DataValidation">
<sequence>
<element name="formula1" type="ST_Formula" minOccurs="0" maxOccurs="1"/>
<element name="formula2" type="ST_Formula" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="type" type="ST_DataValidationType" use="optional" default="none"/>
<attribute name="errorStyle" type="ST_DataValidationErrorStyle" use="optional" default="stop"/>
<attribute name="imeMode" type="ST_DataValidationImeMode" use="optional" default="noControl"/>
<attribute name="operator" type="ST_DataValidationOperator" use="optional" default="between"/>
<attribute name="allowBlank" type="xsd:boolean" use="optional" default="false"/>
<attribute name="showDropDown" type="xsd:boolean" use="optional" default="false"/>
<attribute name="showInputMessage" type="xsd:boolean" use="optional" default="false"/>
<attribute name="showErrorMessage" type="xsd:boolean" use="optional" default="false"/>
<attribute name="errorTitle" type="ST_Xstring" use="optional"/>
<attribute name="error" type="ST_Xstring" use="optional"/>
<attribute name="promptTitle" type="ST_Xstring" use="optional"/>
<attribute name="prompt" type="ST_Xstring" use="optional"/>
<attribute name="sqref" type="ST_Sqref" use="required"/>
</complexType>