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_Related Related Topics sp_TopicIcon
open second grid from edit form first grid
Tags: jqgrid
03/06/2013
12:52
Avatar
Wouter
Member
Members
Forum Posts: 3
Member Since:
03/06/2013
sp_UserOfflineSmall Offline

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/06/2013
07:42
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

07/06/2013
08:47
Avatar
Wouter
Member
Members
Forum Posts: 3
Member Since:
03/06/2013
sp_UserOfflineSmall Offline

Hello Tony,

thanks for your answer. I've made something like that and now I'm testing.


Regards

Forum Timezone: Europe/Sofia

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

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

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information