博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
JEECG中t:dictSelect的extendJson用法
阅读量:4597 次
发布时间:2019-06-09

本文共 972 字,大约阅读时间需要 3 分钟。

1.t:dictSelect的各个属性值如下:

 

属性名 类型 描述 是否必须 默认值
title string 标题 null
field string 控件字段名字 null
typeGroupCode string 字典分组编码 null
type string 控件类型
select|radio|checkbox
select
id string 唯一标识 null
defaultVal string 默认值 null
divClass string DIV 框默认样式 form
labelClass string LABEL 默认样式 Validfor
m_label
dictTable string 自定义字典表 null
dictField string 自定义字典表的匹配字段-字典
的编码值
null
dictText string 自定义字典表的显示文本-字典
的显示值
null
dictCondition string 自定义字典表的显示文本-字典
查询条件
null
extendJson string 扩展参数(json 格式) null

 

hasLabel boolean 是否显示 Label false
readonly string 是否可编辑。当值”readonly”
时不可编辑。
null
datatype string validform 校验规则,一般必
须输入: *
null

2.用法如下:

调用JS如下:

//下拉框值发生变化的时候调用函数    function isInter(cthis){        //是:1;否:2;        var isInter = cthis.value;        if (isInter==1) {            $("#inter").attr("ignore","checked");        }else {            $("#inter").attr("ignore","ignore");        }    }

 

 

转载于:https://www.cnblogs.com/shuilangyizu/p/8677565.html

你可能感兴趣的文章
java中连接各种数据的方法
查看>>
移动端网页头部标签模板
查看>>
每日一练3
查看>>
SaltStack系列(二)之常用模块
查看>>
Day4
查看>>
OpenMobile's Application Compatibility Layer (ACL)
查看>>
html中文件类型的accept属性有哪些
查看>>
JS及JQuery对Html内容编码,Html转义
查看>>
Coursera公开课笔记: 斯坦福大学机器学习第十课“应用机器学习的建议(Advice for applying machine learning)”...
查看>>
竞价广告系统-广告检索
查看>>
强哥PHP面向对象学习笔记
查看>>
[转]基于.NET平台常用的框架整理
查看>>
Symbian (Read Inbox)读取收件箱的内容
查看>>
良好的编程规范
查看>>
struts2 入门
查看>>
.net 编译原理
查看>>
mean 快速开发和现有技术的对比分析
查看>>
Metro Style app :浏览器扩展
查看>>
linux的kernel是怎样工作的(TI_DM36X_ARM系统)(1)
查看>>
[luogu4310] 绝世好题 (递推)
查看>>