easyui 行编辑
来源:互联网 发布:云计算培训沈阳 编辑:程序博客网 时间:2024/06/07 02:43
easyui可编辑数据网络(datagrid)
要引入js文件easyui-edatagrid.js
<script type="text/javascript" src="../jquery.edatagrid.js"></script>
<table id="dg" class="easyui-datagrid" style="width: 100%; height: 100%" data-options=" toolbar:'#tbRule', url:'列表数据请求地址', pagination:false, fitColumns:true, singleSelect:true, border:false"><thead> <tr> <th field="yearDay" width="25%" align="center" editor="{type:'datebox',options:{ valueField:'yearDay', required:true } }">日期</th> <th field="dayDescribe" width="50%" align="center" editor="{type:'textbox', valueField:'dayDescribe', required:true } }">日期描述</th></tr></thead></table>
点击表格外实现自动保存
$(function() { $('#dg2').edatagrid({ autoSave : true, updateUrl : '后台更新地址', onSuccess : function(index, row) {//Fires when a row is saved successfully on the server. $.messager.show({ title : '提示', msg : '保存成功', timeout : 3000, showType : 'slide' }); }, onError : function(index, row) { showError(row.msg); } }); });
0 0
- easyui行编辑
- easyui 行编辑
- easyui行编辑2
- EasyUI-Datagrid行内编辑
- easyui datagrid 行编辑功能
- easyui---- 行内编辑、删除
- Easyui+MVC行内编辑
- EasyUI datagrid可编辑行
- easyUI的行内编辑editor
- easyui实现datagrid行内编辑
- easyui datagrid 设置可编辑行
- Easyui-datagrid行编辑的combobox联动
- easyui datagrid rowedit点击编辑行
- JQuery EasyUI-datagrid用法,行编辑模式
- [转载]easyui datagrid 行内编辑功能
- easyui-datagrid 行内编辑禁止字段可编辑
- easyui 数据表格行内编辑(编辑、保存、删除)
- easyui datagrid编辑行设置某个字段不可编辑
- CAP定理的理解
- Codeforces 747D Winter is Coming 贪心(从最坏解开始优化)
- [BZOJ3676][Apio2014]回文串(回文自动机)
- PHP内核探索:新垃圾回收机制说明
- MVC、ORM别再用自以为是忽悠别人了
- easyui 行编辑
- usaco3.1.1 Score Inflation
- Shaders for Game Programmers and Artists(3) - DOF
- 第七章-定时器
- 生活随笔:ruby,小语种的喜欢
- mysql 存储过程使用示例
- Service Worker 入门 - PWA 强依赖于 Service Worker
- vs2015常用快捷键
- 沉思录