jqGrid删除多行数据问题

var consoleDlg = $("#delcostListDlg");  
var selectedRowIds =   
$("#costList").jqGrid("getGridParam","selarrrow");  
var len = selectedRowIds.length;  
for(var i = 0;i < len ;i ++) {  
$("#costList").jqGrid("delRowData", selectedRowIds[0]);  
} 

http://blog.csdn.net/drykilllogic/article/details/6112516#

posted @ 2017-02-17 19:37  James·wang  阅读(4559)  评论(1编辑  收藏  举报