码迷,mamicode.com
首页 > 其他好文 > 详细

EasyUI中datagrid双击事件

时间:2018-02-11 18:01:45      阅读:227      评论:0      收藏:0      [点我收藏+]

标签:style   window   enter   ali   body   function   pre   type   tail   

EasyUI中datagrid双击事件

<script type="text/javascript">
$(‘#tableworkbydaydata‘).datagrid({
    onDblClickRow: function (rowIndex, rowData) {
        //获取考勤明细
        var url = path + ‘/checkin/workDetail.do?random=‘+Math.random();
        detailOpenWindow(url);
       }
});
var detailOpenWindow = function(url){
    $("#detailWin").window({
        title:"考勤明细",
        width:650,    
        height:450,
        collapsible:false,
        minimizable:false,
        maximizable:false,
        modal:true ,
        href:url
    });
};

</script>

 

EasyUI中datagrid双击事件

标签:style   window   enter   ali   body   function   pre   type   tail   

原文地址:https://www.cnblogs.com/lizm166/p/8442437.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!