1、获取选中到行的ID
var rowKey = jQuery(grid_selector).getGridParam("selrow");
2、获取选中行除ID之外的数据
var query= jQuery(grid_selector).viewGridRow(rowKey, eqoption);
3、返回当前网格数据的ID数组( array[] )
var ids = jQuery(grid_selector).jqGrid('getDataIDs');
1、获取选中到行的ID
var rowKey = jQuery(grid_selector).getGridParam("selrow");
2、获取选中行除ID之外的数据
var query= jQuery(grid_selector).viewGridRow(rowKey, eqoption);
3、返回当前网格数据的ID数组( array[] )
var ids = jQuery(grid_selector).jqGrid('getDataIDs');