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}**?