Forum


07:52

23/10/2009

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.
20:17

23/10/2009

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.
18:21

Moderators
30/10/2007

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.
02:36

23/10/2009

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??
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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66