F7控件介绍
KDBizPromptBox控件即F7控件的常用属性:
- displayFormat:显示期格式,String类型,以"$fieldname$“表示填入字段,”$$“表
示”$“符.取值示例:”$id$+$name$"。在不可编辑时,焦点和非焦点状态的数据展现都使用displayFormat,忽略eidtFormat。 - editFormat:编辑期格式,其它同displayFormat。
- commitFormat:数据提交格式属性。它是展现格式(上面的displayFormat或editFormat都属于展现格式之一)的序列,用“;”隔开。
格式为:<展现格式1>[;<展现格式2>[…]]。如:”$id$;$name$“ ,又如:”$id$+$name$;$id$+$age$”。以后者为例,在提交数据时生成过滤条件为:(id=001 and name=“username”) or (id=001 and age=35)。commitFormat暂不支持非String类型字段。如果设置了非String类型的字段作为匹配字段,将查询不到结果。 - queryInfo:查询对象的PK值,String类型。注意:F7用到的queryInfo中的主对象必须有主键字段。
- entityViewInfo