var rows = $('#dg').datagrid('getRows'); console.log(rows);//先输出检查一下内容(浏览器的开发者工具) var value=rows[0].pile_all;//定位到某行的数据 alert(value);