<?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: How to pass the local variable in  dataurl of JQgrid</title>
	<link>http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/how-to-pass-the-local-variable-in-dataurl-of-jqgrid</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/jqgrid-roadmap/how-to-pass-the-local-variable-in-dataurl-of-jqgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>gowtham.kg on How to pass the local variable in  dataurl of JQgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/how-to-pass-the-local-variable-in-dataurl-of-jqgrid#p26103</link>
        	<category>jqGrid Roadmap</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/how-to-pass-the-local-variable-in-dataurl-of-jqgrid#p26103</guid>
        	        	<description><![CDATA[<p>Thanks for your reply.</p>
</p>
<p>I used setColProp to modify the data url. It is working well.<img class="spSmiley" style="margin:0" title="Smile" src="/blog/wp-content/forum-smileys/sf-smile.gif" alt="Smile" /></p>
]]></description>
        	        	<pubDate>Fri, 09 Mar 2012 13:03:47 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on How to pass the local variable in  dataurl of JQgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/how-to-pass-the-local-variable-in-dataurl-of-jqgrid#p26096</link>
        	<category>jqGrid Roadmap</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/how-to-pass-the-local-variable-in-dataurl-of-jqgrid#p26096</guid>
        	        	<description><![CDATA[<p>You can use <strong>data</strong> property of the <strong>ajaxSelectOptions</strong> parameter of jqGrid see <a href="http://stackoverflow.com/a/8067258/315935" target="_blank">here</a> and&#160;<a href="http://stackoverflow.com/a/8150307/315935" target="_blank">here</a> an example to set an additional parameter to the server. Alternatively you can modify the <strong>dataUrl</strong> dynamiclly inside of beforeInitData in case of form editing or inside of beforeSelectRow or onSelectRow in case of you need to append rowid to the <strong>dataUrl</strong>&#160;if you need to post to the server the id of the selected row. You can use <a href="/jqgridwiki/doku.php?id=wiki:methods#add_on_grid_methods" target="_blank">setColProp</a>&#160;to modify the column property (very close to the example from <a href="http://stackoverflow.com/a/9019406/315935" target="_blank">here</a>).</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Thu, 08 Mar 2012 15:53:22 +0200</pubDate>
        </item>
        <item>
        	<title>gowtham.kg on How to pass the local variable in  dataurl of JQgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/how-to-pass-the-local-variable-in-dataurl-of-jqgrid#p26095</link>
        	<category>jqGrid Roadmap</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/how-to-pass-the-local-variable-in-dataurl-of-jqgrid#p26095</guid>
        	        	<description><![CDATA[<p>How to pass the local variable in&#160; dataurl of JQgrid</p>
<p>i have to fill the dropdownlist in the grid based on the value of another column in the row while inline edit.</p>
<p>i got the value of the column on selectrow</p>
<p>&#160;&#160; var grid = jQuery(&#39;#JQTable&#39;);<br />var sel_id = grid.jqGrid(&#39;getGridParam&#39;, &#39;selrow&#39;);<br />var myCellData = grid.jqGrid(&#39;getCell&#39;, ddl_id, &#39;ddlid&#39;);</p>
<p>{ name: &#39;split&#39;, index: &#39;split&#39;, width: 100, align: &#39;left&#39;, editable: true, edittype: &#39;select&#39;, editoptions: { dataUrl: <a href="mailto:&#39;@Url.Action(%22Split%22),new" target="_blank">&#39;@Url.Action("Split"),new</a> {id=myCellData}&#39; } },</p>
<p>while im passing the value in the grid it gives&#160; &#39;myCellData&#39; does not exist in the current context</p>
]]></description>
        	        	<pubDate>Thu, 08 Mar 2012 14:24:45 +0200</pubDate>
        </item>
</channel>
</rss>