Annotation Interface ExcelOption


@Target(FIELD) @Retention(RUNTIME) @Inherited @Documented public @interface ExcelOption
Excel 单元格验证 (单元格下拉选项)

可自定义选项或关联字典

版本:
v2.3.0
作者:
wind
  • 元素详细资料

    • value

      @AliasFor("options") String[] value
      此属性为options()的别名

      当不指定其他属性值时使用而不是指定options() — 例如:@ExcelOption({"选项1","选项2"})

      另请参阅:
      默认值:
      {}
    • options

      @AliasFor("value") String[] options
      下拉选项列表

      value()是此属性的别名(并与之互斥)。

      优先级: dict > options

      默认值:
      {}
    • dict

      String dict
      关联字典类型

      优先级: dict > options

      默认值:
      ""
    • rows

      int rows
      默认填充行数

      当 rows <= 0 时为个整列

      默认值 1000

      默认值:
      1000
    • errorStyle

      int errorStyle
      错误框样式
      另请参阅:
      • DataValidation.ErrorStyle
      默认值:
      2