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
Using the Editurl to display detail information
21/01/2010
07:52
Avatar
Ed Valentine
Member
Members
Forum Posts: 32
Member Since:
23/10/2009
sp_UserOfflineSmall Offline

I have looked at the demos and other places and I apologise if this is a dumb question.

I have the grid working and am displaying summary data from the DB, now I want the user to select a row from the grid and click to do one of  the following :

1. Display the edit form as the demo does, display many fields of detail information (read-only) obtained from referencing the id. Include some of the fields from the grid for editing and return to the grid on submit. The question is 'Can I use the editurl to call a custom form or is it limited to the row data fields'?

2. I have a test that uses the double click to get a url and uses window.open to produce a separate page. This will work but I do not know how to produce a grid reload when the user submits the window and closes it.

i want to put a totally separate grid on the detail page to display some related detail records as read-only in addition to the static data.

I will appreciate any suggestions.

22/01/2010
20:17
Avatar
Ed Valentine
Member
Members
Forum Posts: 32
Member Since:
23/10/2009
sp_UserOfflineSmall Offline

I found the function 'gridToForm' and this looks like what I am looking for.

1. Can anyone point to a sample of the code, HTML page using this? It would really help to see a full implimentation to get a overall view of how everything works together.

2. It soulds like when the form is called with GridToForm ane the user submits back out of the form, the code returns to the jgrid anee will see the reload function. Is this correct?

Thanks.

24/01/2010
18:21
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

There are quite good examples in the demo pages.

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.

04/02/2010
02:36
Avatar
Ed Valentine
Member
Members
Forum Posts: 32
Member Since:
23/10/2009
sp_UserOfflineSmall Offline

tony said:

Hello,

There are quite good examples in the demo pages.

Best Regards

Tony


I have looked at the gridtoform and am just not getting it to work. I cannot find a good working example.

I have jQuery("#list").jqGrid('GridToForm', 'id', 'list1' );

id = the id of the data record and 'list1' is the name of the form (<form id="list1" class="formular" method="post" action=""  >)

I must be not understanding something.

Suggestions??

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
59 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