Forum

November 2nd, 2014
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
Trigger a Search with grid
30/11/2012
12:56
Avatar
ereallstaff
New Member
Members
Forum Posts: 1
Member Since:
30/11/2012
sp_UserOfflineSmall Offline

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

Forum Timezone: Europe/Sofia

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.com

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

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information