Forum



12:52

03/06/2013

I'm looking for a funtion to open jqGrid from the edit-form of a jqGrid. What I have now is that after every cell in the edit-form of a table, I have a button.What i want is that if you press that button jqGrid loads a new instance of itself with the relevant information.
Example: I have a customer table that is loaded in jqGrid. If I press edit, the edit form opens. One of the fields in the customer table is country. If I press the custom-made button on the country field in the edit-form, I would like to open a second instance of jqGrid with all the information of the country-table, which should be editable again. So what I'm looking for is a kind of zoom function.
07:42

Moderators
30/10/2007

Hello,
This is possible and we have used this scenario in a lot of projects.
When you need to customize is:
1. Add a button near to the field - every input field in the form has a id and name get from the name of colModel
2. Use jqGrid modal functions or jQuery UI modal one in order to call the second grid in it.
In this case you will need to pay attention on the zIndex of the forms.
All other things are standard.
Regards
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:
87 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