Forum


22:04

03/03/2010

Hi all,
Im involved in that proyect:
http://willbe.orgfree.com/Cons.....ltamir.php
And the thing is that we need dynamic selects in the toolbar, that way if i select a city the other selects must change to show only the avaliable Centros (Hospitals) etc etc. It is like the typical Country<->Region<->City dynamic selects.
There are some examples to do that in the editing mode but i dont know why we're not able to set it up in the filter toolbar, after one week hardly trying there is no result
(tony told me to visit that topic
"http://www.trirand.com/blog/?page_id=393/help/dynamically-populate-select-dropdown/&value=dataEvents&type=1&include=1&search=1&ret=all"
but im unable to apply it to my thing)
Please if someone had the same problem and found some tuto or can post some example code would be great to finish finally the project...
Many thanks
Jonathan
PS: i can post my code if someone need it or want to see it
//For spanish users
Hola a todos,
La duda es como hacer que los selects de la barra de busqueda sean dinamicos y esten relacionados unos con otros de forma que si se elige por ejemplo Madrid los demas selects cambien mostrando solo las especialidades y centros que estan en madrid...si alguien puede ayudarme se lo agradeceria mucho.
11:16

12/02/2010

hi,
Can you post your whole grid definition? And which select/tool will influence affect the other selection?
e.g
# I want that if I will a certain Provincia then it will limit the oupout of choices on Centro.
Hopefully this will be more clearer to thus who are capable of helping, I'll see to if can do it too.
regards,
lupin
13:20

03/03/2010

Hi Lupin! Thanks for reply 🙂
The HTML is as simple as: http://pastie.org/864764 only a DIV including grid.php (grid configuration)
The grid.php is this one: http://pastie.org/864773
And the correlative SELECTS would be "Especialidad" "Provincia" "Localidad" "Centro"
Actually the DB is only one table (ID-Especialidad-Provincia...etc), but im able to build subtables with only "ID-Provincias" or only "ID-Localidades" etc if it is neccesary to fix the problem
Thank you again, im so grateful for your help.
Have a nice day
Jonathan
PS: if you need more information tell me, TY.
14:10

12/02/2010

Hi,
Sorry I won't be able to help you with it since your using the jqgrid Php, but here's a documentation link, try to look at the Events http://www.trirand.net/documen...../index.htm.
hth,
lupin
14:25

03/03/2010

Would be better to do it in another way? i can change the code if it will fix the problem, i saw some post where the people is using another way to configurate the grid, something as a script in the same HTML page setting up the grid and i would do it in that way if like that the problem will be fixable, im flexible, so tell me if there is another way to improve the app and i will obey 🙂
Thanks again Lupin
Jonathan
14:31

03/03/2010

I think im using a version (the last) which is not still good docummented and the examples and tutos are all of them relatives to the older versions. Im new in that and i dont care which version to use if that would help to make the changes, i will rebuild it now in an older version if you think that would be a help, thanks a lot Lupin
Jonathan
14:48

Moderators
30/10/2007

Hello,
I think that you post is in wrong forum.
This should be posted here:
Best Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
46 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