Forum


12:56

30/11/2012

Hello everybody
I wish to give the user the chance to retrigger the latest search
On your website I have found something like this:
jQuery("#grid").jqGrid('setGridParam', {
url:"dati.php?retriggerSearch=1&searchField="+searchField+"&searchString="+search_string,
page:1} )
.trigger("reloadGrid");
The first time it works good. But when I go changing the parameters, they does not change anymore.
Better explain:
1 - first search all products are retrieved
2- search with built in jqgrid function for "red" color -- ok
3 - search with built in jqgrid function for "yellow" color -- ok
4- retrigger with above function red color , it always search for yellow color , as parameters from request are triggered differently
seems like the jqgrid is not modified with params
Thanks to all
Most Users Ever Online: 715
Currently Online:
47 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66