title: AfterSumbit event in jqgrid not working
body: <p>i am using jqgrid and here is script.</p>
  
  <pre><code>       var lastsel;
  jQuery(document).ready(function () {
      jQuery("#list").jqGrid({
          // url: 'TestGrid/GridData',
          url: 'TestGrid/GridDataLoadOnce',
          datatype: 'json',
          colNames: ['COM_NAME', 'COM_CODE', 'DELV_UNITS', 'LOT_SIZE', 'TICK_SIZE', 'TICK_VALUE'],
          PostData: { "id": "4" },
          colModel: [
          { name: 'COM_NAME', index: 'COM_NAME', width: 90, editable: true },
          { name: 'COM_CODE', index: 'COM_CODE', width: 100, editable: true },
          { name: 'DELV_UNITS', index: 'DELV_UNITS', width: 80, align: "right", editable: true },
          { name: 'LOT_SIZE', index: 'LOT_SIZE', width: 80, align: "right", editable: true },
          { name: 'TICK_SIZE', index: 'TICK_SIZE', width: 80, align: "right", editable: true },
          { name: 'TICK_VALUE', index: 'TICK_VALUE', width: 150, sortable: false, editable: true }
      ],
          // multiselect:false, // select multiple rows
          //rowNum: 50,
          //pgbuttons : true,
          //rowTotal: 2000,
          //  rowList: [20, 30, 50], // number of records show
          rowList: ReturnRowList(),
          //         /* Event Trigger after every database hit */
          //        loadComplete: function (data) {
          //          alert(jQuery.stringify(data));
          //      },
  
  
  
  
          //rowList: "rowList" ,
          loadonce: true, // hit only once on the server
          //  mtype: "GET",
          rownumbers: true, // show the numbers on rows
          rownumWidth: 40, // row number's column width
          gridview: true,
          pager: '#pager',
          sortname: 'COM_NAME',
          viewrecords: true, // show the total records on the end of the page
          jsonReader: {
              page: "page",
              total: "total"
          }, // url to be called on edit
          editurl: "TestGrid/EditRecord",
          mytype: "POST",
          caption: "JSON Example"
      });
  });
  
  $(document).ready(function () {
      jQuery("#list").jqGrid('navGrid', '#pager', { del: true, add: false, edit: true, save: false, cancel: false, cancelicon: "ui-icon-cancel" }, {reloadAfteSubmit:true, closeAfterDelete: true, closeAfterEdit: true },
      {
       afterSubmit: function (response) {
              // you should return from server OK in sucess, any other message on error
              alert("after Submit");
              if (response.responseText == true) {
                  alert("Update is succefully")
                  return [true, "", ""]
              }
              else {
                  alert("Update failed")
                  return [false, "", ""]
              }
          },
      }
  
  
  
      );
  });
  </code></pre>
  
  <p>when i click on the edit button a pop appears , after making changes when i click on the save button i want confiramtion on client side either record is insert properly or not. for this i am using afterSubmit event which is not firing . please tell me what can be the possible issue ?</p>