Apologies if this question has been answered before.
Though the answers I've seen look correct according to jqGrid documentation, I have been completely unable to get the "editData" parameter of "editGridRow" to work.
I've tried setting editData through "navGrid" edit options:
$("#myGrid").jqGrid(
"navGrid",
"#pager",
{edit:false,add:false,del:false}, //options
{editData:{myparam:function(){return "myval"}}}, // edit options
{}, // add options
{}, // del options
{} // search options
);
and through "editGridRow":
$("#myGrid").jqGrid('editGridRow',rowid, {
editData:{myparam:function(){return "myval"}},
height:240,
reloadAfterSubmit: true,
editCaption:'Edit Record',
bSubmit:'Save',
url:'someurl.php',
closeAfterEdit:true,
viewPagerButtons:false
});
My additional POST data is just NOT showing up on POST.
Any idea what I may be doing wrong?
Thanks!