Forum
18:39
13/02/2010
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.
Dirk
Most Users Ever Online: 715
Currently Online:
33 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66