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
still problems with dynamic selects
10/03/2010
22:04
Avatar
DOCMADRID
Member
Members
Forum Posts: 7
Member Since:
03/03/2010
sp_UserOfflineSmall Offline

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/03/2010
11:16
Avatar
lupin
Member
Members
Forum Posts: 28
Member Since:
12/02/2010
sp_UserOfflineSmall Offline

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

11/03/2010
13:20
Avatar
DOCMADRID
Member
Members
Forum Posts: 7
Member Since:
03/03/2010
sp_UserOfflineSmall Offline

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.

11/03/2010
14:10
Avatar
lupin
Member
Members
Forum Posts: 28
Member Since:
12/02/2010
sp_UserOfflineSmall Offline

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

11/03/2010
14:25
Avatar
DOCMADRID
Member
Members
Forum Posts: 7
Member Since:
03/03/2010
sp_UserOfflineSmall Offline

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

11/03/2010
14:31
Avatar
DOCMADRID
Member
Members
Forum Posts: 7
Member Since:
03/03/2010
sp_UserOfflineSmall Offline

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

11/03/2010
14:48
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

I think that you post is in wrong forum.

This should be posted here:

http://www.trirand.net/forum/

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.

11/03/2010
15:00
Avatar
DOCMADRID
Member
Members
Forum Posts: 7
Member Since:
03/03/2010
sp_UserOfflineSmall Offline

Thank you Tony,

And sorry for the mistake, i thought it was the correct place, I will post it in the other place right now. Sorry, im a  bit lost...

Have a nice day

Jonathan

Forum Timezone: Europe/Sofia

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

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

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information