Hi,
I want to use the afterSbmit method when I am adding a row:
jQuery(“#list1”).jqGrid('navGrid','#pager1',
{edit:true, add:true, del:true, refresh: false, search: false}, //options
{height:280, reloadAfterSubmit:false}, // edit options
{height:280, // add options
reloadAfterSubmit:false,
closeAfterAdd: true,
afterSubmit: function(returned_data, posted_data){
alert(posted_data[“db_name”]);
}
},
{reloadAfterSubmit:false} // del options
);
But when I am using the afterSubmit event I get an error…
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top