November 2nd, 2014

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
ajax update search in jqgrid 3.6 and jqgrid 4
Forum Posts: 3
Member Since:
sp_UserOfflineSmall Offline

I have written a module that updates dropdown boxes in the multiple search process in jqgrid 3.6 interactively:

For example in the first line you have a dropdown (select element with options) to select a Country choose "France" , operator "AND" and then hit "+" :

   Then a background process updates all dropdown search boxes via Ajax and you can only choose items for "France"

in the other dropdown fields (for example you can select only regions in France , customers in France,...)  which makes specification much easier.

In jqgrid 3.6 this is easy. I just update all the select elements (class 'vdata') below the actual one (visible or not) and the rest happens automatically because jqgrid just switches between 'display:inline' 'display:none' when search fields are switched.

In jqgrid 4.0 and 4.1 the values for the options are copied from a "secret" place I could not find when switching between different search items. Now my question is:

Does anyone know where these select options are stored and how I can manipulate them with an ajax request.

Or is it possible to use the old search tool from jqgrid 3.6 in jqgrid 4.0 and how to do this?

Any help is welcome- I would like to share my code if I get this to work.


Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
42 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,

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

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information