| 限定符和类型 | 字段和说明 |
|---|---|
static Comparator<Field> |
comparator
通过orderby字段排序
|
| 限定符和类型 | 可选元素和说明 |
|---|---|
boolean |
base64
by andy.zhou 20211221 查询时出base64转成结果 ,这样在js上就可以把base64转为图片了,就不会出错。
|
int |
colspan
跨td的数量,如果某个元素需要跨2列,那么colspan设置为3,加上label就是4,也就占据了2列的位置了
|
String[] |
convert
与TamsBean的convert配置作用相同,不过TamsBean的convert的元素需要配置4项,但此convert只要配置3项,
还有一项就是TamsCol所标注的这列的列名, eg在updateBy列上的注解:{"updateByName,100,创建者"}
相当于{"updateBy,updateByName,100,创建者"}
|
String |
defaultvalue
by andy.zhou 20211221 默认值
|
boolean |
excludeField
是否需要组装查询结果到前端,有些大字段(如text类型)需要跳过,一避免前端json太大,二避免给前端的json出现格式错误
|
boolean |
jsonFormat
是否为json字符,查询时返回结果需要处理,如果是json字符不处理就会导致结果格式错误
|
String |
opt_columns
ComboGrid和ComboTree的列名快捷配置
|
Class<? extends IEnumCombobox> |
opt_enumclass
为了方便pageElementOpt里的重要配置项的配置,会把它们提出来单独配置 规则 :opt_
开头,这些配置会覆盖pageElementOpt里的json值。
|
StrPattern |
opt_strpattern
validatebox用的字符检测,如果有更多的需要检查的正则表达式,可以在StrPattern枚举里添加,或做一些保存前的check勾子就好了
|
String |
opt_toolbar |
int |
orderby
排序值,升序,默认排最后
|
PageElement |
pageElement
页面元素,默认为输入框架。
|
String |
pageElementOpt
页面元素相关配置,json类型,元素为PageElementOpt,值为value
|
short |
query
是否出现在查询模块小于0:不显示 0:不必填 1:必填
|
short |
save
在新增和修改时是否出现, 小于0:不显示,等于0:要显示但不必填,等于1:要显示且必填
|
int |
showWidth
grid列要显示的宽度,默认为0表示不显示
|
public static final Comparator<Field> comparator
public abstract String value
public abstract boolean excludeField
public abstract PageElement pageElement
public abstract String pageElementOpt
public abstract int colspan
public abstract Class<? extends IEnumCombobox> opt_enumclass
public abstract StrPattern opt_strpattern
public abstract String opt_columns
public abstract String opt_toolbar
public abstract String[] convert
public abstract boolean jsonFormat
public abstract boolean base64
public abstract String defaultvalue
Copyright © 2022–2023. All rights reserved.