取得选中行数据:var row = $('#tt').datagrid('getSelected');if (row){ alert('Item ID:'+row.itemid+"Price:"+row.listprice);}取得所有选中行的 itemid:var ids = [];var rows = $('#tt').datagrid('getSelections');for(var i=0; i