![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
前端easyui
踩坑记载
桃子大帅比的废物日常
实习一年、工作两年(出差半年)、只会面向Google-copy的小程
展开
-
2021-01-16 记录下表格数据添加点击链接
记录下表格数据添加点击链接 // 1 { filed: "xxx", title: "xxx", width: 80, formatter: function(value,row,index){ var str = "<a href=\"javascript:void(0);\" οnclick='toDetail('" + row['xxxx'] + "')'>"+row.deviceid+"</a>"; retur原创 2021-01-16 11:24:01 · 99 阅读 · 0 评论 -
easyui 表格合并列操作、时间选择框显示年月
直接上代码: ```javascript //表格宽度自适应,这里的#dg是datagrid表格生成的div标签 function fitCoulms(){ $('#statis-list').datagrid({ fitColumns:true })}; $(function () { $("#date").datebox({ onShowPanel: function () {//显示日趋选择对象后再触发弹出月份层的事件,初始化时没有生成月份原创 2020-09-04 11:52:33 · 241 阅读 · 0 评论