Forum

July 12th, 2025
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Need to send additional data to the script specified in "url"
03/02/2010
00:13
Avatar
Casufi
Member
Members
Forum Posts: 4
Member Since:
03/02/2010
sp_UserOfflineSmall Offline

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.

03/02/2010
17:44
Avatar
loudmouthman
England
Member
Members
Forum Posts: 4
Member Since:
03/02/2010
sp_UserOfflineSmall Offline

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(){
                                                                $("#listings").jqGrid('setGridParam',{postData:{export:'excel'},search:true});
                                                                $("#listings").trigger("reloadGrid")
                                                                  },
                                position:"last"
                                });

Forum Timezone: Europe/Sofia

Most Users Ever Online: 994

Currently Online:
27 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information