title: jqGrid: Additional Edit Parameters not being posted to server
body: <p>I'm using the <code>Lib.Web.MVC</code> helper so my initial jqGrid JS is generated by that object.  After the call to @grid.GetJavaScript, I then issue a separate call to modify the <code>editData</code> collection as specified below.  Here is the effective JS that I'm using.  The values of <code>AreaId</code> and <code>AreaItemId</code> don't ever get submitted to the controller action.     </p>
  
  <pre><code>$(document).ready(function () {
      $('#GetAreaItemDetails').jqGrid({
          colNames: ['Code', 'Name', 'Description', 'Has Addl Comments'],
          colModel: [
              { editable: true, editoptions: { "maxlength": 16 }, editrules: { required: true },
                  name: 'AreaItemDetailCode'
              },
              { editable: true, editoptions: { "maxlength": 32 }, editrules: { required: true },
                  name: 'AreaItemDetailName'
              },
              { editable: true, editoptions: { "maxlength": 128 }, editrules: { required: true },
                  name: 'AreaItemDetailDescription'
              },
              { editable: true, edittype: 'checkbox', editrules: { required: true },
                  name: 'HasAdditionalComments'
              }],
          caption: 'Area Item Details',
          url: '/Admin/GetAreaItemDetails',
          datatype: 'json',
          footerrow: true,
          jsonReader: { repeatitems: false, id: 'Id', subgrid: { repeatitems: false} },
          mtype: 'POST',
          pager: '#GetAreaItemDetailsPager',
          prmNames: { npage: 'npage' },
          rowList: [10, 20, 30, 40, 50],
          rowNum: 10,
          sortname: 'AreaItemDetailId',
          viewrecords: true,
          height: '100%'
      }).jqGrid('navGrid', '#GetAreaItemDetailsPager',
          { search: false },
          { height: 175, url: '/Admin/UpdateAreaItemDetail', width: 400, recreateForm: true,
              closeAfterEdit: true
          },
          { height: 175, url: '/Admin/InsertAreaItemDetail', width: 400, recreateForm: true,
              closeAfterAdd: true
          });
  
      $("#GetAreaItemDetails").jqGrid('navGrid', '#GetAreaItemDetailsPager',
          {/*navGrid options*/},
          {
              editData: {
                  AreaItemId: function () {
                      return $('#ddlAreaItems').val();
                  },
                  AreaId: function () {
                      return $('#ddlAreas').val();
                  }
              }
          },
          {
              editData: {
                  AreaItemId: function () {
                      return $('#ddlAreaItems').val();
                  },
                  AreaId: function () {
                      return $('#ddlAreas').val();
                  }
              }
          });
  });
  </code></pre>