Home › Forums › Guriddo jqGrid JS › Help › Need to send additional data to the script specified in “url”
Hello could someone to suggest if it is possible to configure jQuery Grid to send additional custom data in POST or GET query to the script specified in “url” parameter.
Currently to pass additional parameters to the URL which loads the grid I use the following
$(“#gridname”).jqGrid('setGridParam',{postData:{addvalOne:'SomeValuel'},search:true});$(“#gridname”).trigger(“reloadGrid”);
As an example of where I use it
.navButtonAdd('pager',{caption:””,title:”Export”,buttonicon:”ui-icon-disk”,onClickButton:function(){
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS