改变datagrid中指定单元格的值
//自己设置编辑时显示的内容 $('#purchasegroupname'+index).html(name); //单元格真实内容 $('#material_datagrid').datagrid('getRows')[index]['purchasegroupname'] = name; $('#material_datagrid').datagrid('getRows')[index]['purchasegroupcode'] = code;
//自己设置编辑时显示的内容 $('#purchasegroupname'+index).html(name); //单元格真实内容 $('#material_datagrid').datagrid('getRows')[index]['purchasegroupname'] = name; $('#material_datagrid').datagrid('getRows')[index]['purchasegroupcode'] = code;