Home › Forums › Guriddo jqGrid JS › Help › reload grid after inline save data (from save button)
Hi All,
I would like to reload the grid after add/edit row and click on inlineNav
grid reload can be done with inlineNav/addParams/addRowParams/successfunc function:
example:
$(“#grid”).jqGrid('inlineNav',”#pager”, {
addParams: {
addRowParams: {
successfunc: function (val){
if (val.responseText == 'OK') {
$(this).jqGrid('setGridParam', {datatype: 'json'}).trigger('reloadGrid');
}
},
…
Hello,
Thank you for posting the solution.
Regasrds
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS