atagrid这两属性设置为true selectOncheck:true,checkOnselect:true 而后用js遍历行,须要选中的调用下边的方法 $('#dg').datagrid('selectRecord','rowid') rowid是行的id,能够本身指定 或者 遍历行,根据行索引index来设置 $('#dg').datagrid('checkRow',index)