I have a jqGrid in which when I click on the next/previous page, I want to execute some custom function (which saves the uncommitted changes done using inline editing) and once that function finishes execution, I want the default action of onPaging event to execute (i.e. load next page data).
onPaging: function (pgButton) {
clickedSaveAll = false;
BulkSave();
}
Actual output : The default action triggers before the custom function.
Please help.