关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 更新日志 - 技术支持 - 招聘英才

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务QQ: 69893005、3102411850 商务热线(5*8小时): 010-64808099 官方邮箱: jeecgos@163.com

查看: 8450|回复: 0

JEECG 行编辑例子源码

[复制链接]
发表于 2018-1-8 16:06:41 | 显示全部楼层 |阅读模式
  1.   <t:datagrid name="jeecgrowList"  checkbox="true" pagination="true" fitColumns="true"
  2.   title="jeecg_rowedit" actionUrl="jeecgListDemoController.do?datagrid" idField="id"  queryMode="group">
  3.     <t:dgCol title="id"  field="id"   hidden="true"   queryMode="group"  width="140"></t:dgCol>
  4.     <t:dgCol title="名称"  field="name" query="true" extendParams="editor:'text'" width="150"></t:dgCol>
  5.     <t:dgCol title="年龄"  field="age"  query="true" extendParams="editor:'numberbox'" width="80"></t:dgCol>
  6.     <t:dgCol title="生日"  field="birthday" formatter="yyyy-MM-dd"  extendParams="editor:'datebox'" width="150"></t:dgCol>
  7.     <t:dgCol title="性别"  field="sex"  query="true" dictionary="sex" extendParams="editor:'combobox'" width="100"></t:dgCol>
  8.     <t:dgCol title="工资"  field="salary"  queryMode="group" extendParams="editor:'numberbox'" width="100"></t:dgCol>
  9.      <t:dgCol title="入职状态"  field="status" query="true" dictionary="sf_yn" extendParams="editor:'combobox'" width="100"></t:dgCol>
  10.     <t:dgCol title="个人介绍"  field="content"  hidden="true"   queryMode="group"  width="500" extendParams="editor:'text'" ></t:dgCol>
  11.   
  12.     <t:dgToolBar operationCode="add" title="录入" icon="icon-add"  funname="addRow"></t:dgToolBar>
  13.         <t:dgToolBar operationCode="edit" title="编辑" icon="icon-edit"  funname="editRow"></t:dgToolBar>
  14.         <t:dgToolBar operationCode="save" title="保存" icon="icon-save" url="jeecgListDemoController.do?saveRows" funname="saveData"></t:dgToolBar>
  15.         <t:dgToolBar operationCode="undo" title="取消编辑" icon="icon-undo" funname="reject"></t:dgToolBar>
  16.          <t:dgToolBar title="批量删除"  icon="icon-remove" url="jeecgListDemoController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>
  17.   </t:datagrid>
复制代码
具体源码下载见附件 list_rowedtior.jsp (4.26 KB, 下载次数: 56)
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表