easyui datagrid checkbox選中事件


$('#grid_Order').datagrid({
       onCheck: function(index, data) { //alert(data[0]);
               //alert(index );
               $("#ChangeCore_order_id").html(data[0]);//賦值 賦安裝工單id 換芯 維修 用
               $("#Repair_order_id").html(data[0]);//alert($("#ChangeCore_order_id").html());
               $("#order_install_id").val(data[0]);//
        }
});

 

<table id="grid_Order" class='easyui-datagrid' style='width:1000px;' url='Ajax-index.php?module=CallIn&action=Ajax_GridView_Select_Order' 
title='已購機器' iconCls='icon-table' rownumbers='true' fitColumns='false' singleSelect='true' > 
<thead> 
<tr> 

<th data-options="field:'ck',checkbox:true"></th>

<th field='contact_name' width='80'align='center'>姓名</th> <th field='contact_callerid' width='120'align='center' >電話號碼</th> <th field='date_entered' width='140'align='center'>創建時間</th> <th field='contact_address' width='160' align='center' >地址</th> <th field='description' width='160' align='center'>描述</th> <th field='assigned_user_name' width='80' align='center'>創建人員</th> </tr> </thead> </table>

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM