paper-xlsxAPI referenceworksheet.datavalidation
DataValidation
paper-xlsx 0.2.1 API reference
DataValidation(type=None, formula1=None, formula2=None, showErrorMessage=False, showInputMessage=False, showDropDown=False, allowBlank=False, sqref=(), promptTitle=None, errorStyle=None, error=None, prompt=None, errorTitle=None, imeMode=None, operator=None, allow_blank=None)Attributes
allowBlank
attributeallowBlank= allowBlankallow_blank
attributeallow_blank= Alias('allowBlank')cells
attributecells= Alias('sqref')error
attributeerror= errorerrorStyle
attributeerrorStyle= errorStyleerrorTitle
attributeerrorTitle= errorTitleformula1
attributeformula1= formula1formula2
attributeformula2= formula2hide_drop_down
attributehide_drop_down= Alias('showDropDown')idx_base
attributeidx_base= 0imeMode
attributeimeMode= imeModenamespace
attributenamespace= Noneoperator
attributeoperator= operatorprompt
attributeprompt= promptpromptTitle
attributepromptTitle= promptTitleranges
attributeranges= Alias('sqref')showDropDown
attributeshowDropDown= showDropDownshowErrorMessage
attributeshowErrorMessage= showErrorMessageshowInputMessage
attributeshowInputMessage= showInputMessagesqref
attributesqref= sqreftagname
attributetagname= 'dataValidation'type
attributetype= typevalidation_type
attributevalidation_type= Alias('type')Functions
__contains__
func__contains__(cell)paramcell__iter__
func__iter__()add
funcadd(cell)Adds a cell or cell coordinate to this validator
paramcellfrom_tree
funcfrom_tree(node)Create object from XML
paramnodeto_tree
functo_tree(tagname=None, idx=None, namespace=None)paramtagname= Noneparamidx= Noneparamnamespace= None