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
Custom Search
12/02/2009
08:17
Avatar
thedavix
Member
Members
Forum Posts: 5
Member Since:
12/02/2009
sp_UserOfflineSmall Offline

Hi,

I would like to know if it is possible to implement an external search linked to JqGrid. I mean for example an input field in a form with a button search and when the user click on it the grid will refresh with the new records generated by the query.

Is it possible do to something like that?
I search in the doc and examples but did not find any function that I could call.

thks in advance

David

12/02/2009
10:40
Avatar
FredyC
Member
Members
Forum Posts: 17
Member Since:
02/02/2009
sp_UserOfflineSmall Offline

I think, that you are looking for postext module from Paul Tiseo. It's documented in docs under user modules. Through this you can modify postdata, which are sent to server and add customized search query in there. I think, there is even demo for this.

12/02/2009
12:52
Avatar
rsea
Member
Members
Forum Posts: 17
Member Since:
24/01/2009
sp_UserOfflineSmall Offline

I did that just using

$('#grid').setGridParam({postData: {search:$('#input').val()}}).trigger(”reloadGrid”)

as action when user click ok or press enter. What this does is send append &search=field to the file which populates the grid, so you have to adjust that file too.

Works fine for me, except that he have to do an empty search to reset.

Hope it helps,

Best regards,

Rodolfo

12/02/2009
13:53
Avatar
thedavix
Member
Members
Forum Posts: 5
Member Since:
12/02/2009
sp_UserOfflineSmall Offline

Thks a lot for the help Laughing

I will give it a try and will keep you informed!

Best,

David

17/02/2009
08:05
Avatar
thedavix
Member
Members
Forum Posts: 5
Member Since:
12/02/2009
sp_UserOfflineSmall Offline

Re 😉

Thanks for the help Laughing,
I just tried theses two solutions and the two of them works very well!

Best,
David

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
45 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