<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: editurl couldn't init with daynamic paramters</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/editurl-couldnt-init-with-daynamic-paramters</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/editurl-couldnt-init-with-daynamic-paramters/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>slam33661490 on editurl couldn't init with daynamic paramters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/editurl-couldnt-init-with-daynamic-paramters#p20010</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/editurl-couldnt-init-with-daynamic-paramters#p20010</guid>
        	        	<description><![CDATA[<p>jQuery("#permissionList")<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;.jqGrid(<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;url : &#39;${pageContext.request.contextPath}/permission/getList.json&#39;,</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editurl : &#39;${pageContext.request.contextPath}/permission/deleteByIds.json?page=&#39; <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;+ $(&#39;#permissionList&#39;).getGridParam(&#39;page&#39;)<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;+&#39;&#38;rows=&#39;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;+$(&#39;#permissionList&#39;).getGridParam(&#39;rowNum&#39;)</p>
<p>})</p>
</p>
<p>Just like this code,&#160; editurl shows page = undefined when post to server.&#160; i guess, because of current grid has not rendered completed, so $(&#39;#permissionList&#39;).getGridParam(&#39;page&#39;) could not get anything. then&#160; i change it to gridComplete event, it works.Code is below:</p>
<p>gridComplete : function() {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;$(&#39;#permissionList&#39;).setGridParam( {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;editurl : &#39;${pageContext.request.contextPath}/permission/deleteByIds.json?page=&#39; <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;+ $(&#39;#permissionList&#39;).getGridParam(&#39;page&#39;)<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;+&#39;&#38;rows=&#39;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;+$(&#39;#permissionList&#39;).getGridParam(&#39;rowNum&#39;)<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;});<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}</p>
]]></description>
        	        	<pubDate>Mon, 27 Sep 2010 05:34:17 +0300</pubDate>
        </item>
</channel>
</rss>