i wrote this script
$.getJSON('<%=Url.Action("JsonSave","Controler")%>',
{ id: newRow.Id, personId: newRow.PesronId},
function(data) {
$('#grid').trigger('reloadGrid'); //{0}
$('#grid').editRow(rowCount); //{1}
})
what should i do so that {1} would be executed exactly after {0}