Please visit this example
http://www.jeasyui.com/tutorial/datagrid/datagrid27_demo.html. Select a row and run the code below on the 'Console' panel of browser, it works fine.
var dg = $('#tt');
var row = dg.datagrid('getSelected');
if (row){
var index = dg.datagrid('getRowIndex', row);
dg.datagrid('updateRow',{
index:index,
row:{name:'updatedname'}
});
}
Be sure you are using the newest scroll view file. If not, download it from
http://www.jeasyui.com/extension/datagridview.php and include it into your page.