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>