Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
Description
A common use case is to pass additional parameters to the URL specified by editURL. Therefore jqgrid has the 'editData' property, see http://www.trirand.com/jqgridwiki/doku.php?id=wiki:navigator. My current approach is to omit the <jqgrid:navigation> tag and add manually the following code:
<pre>
<jqgrid:grid id="mygrid" ... />
$("#mygridGrid").jqGrid('navGrid',"#mygridGridPager",
{},
{editData: {'someReference.id': $
{editData: {'someReference.id': ${someReferenceInstance.id}
}}, // edit
{editData: {'someReference.id': $
}} // delete
);
</pre>
It would be very nice, if we could have this as a part of the navigation tag.
Activity
Contegix Support
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Project Import | Thu Mar 24 21:55:00 CDT 2011 [ 1301021700396 ] |
Yue Cui
made changes -
| Project | Grails Plugins [ 10021 ] | JQGrid Plugin [ 10155 ] |
| Key | GRAILSPLUGINS-2738 | GPJQGRID-9 |
| Component/s | Grails-JQGrid [ 10488 ] |