<?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 do I modify the dataUrl when a row is selected?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-do-i-modify-the-dataurl-when-a-row-is-selected</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/how-do-i-modify-the-dataurl-when-a-row-is-selected/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on how do I modify the dataUrl when a row is selected?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-do-i-modify-the-dataurl-when-a-row-is-selected#p18372</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-do-i-modify-the-dataurl-when-a-row-is-selected#p18372</guid>
        	        	<description><![CDATA[<p>Please look at <a href="http://www.trirand.com/blog/?page_id=393/help/dynamically-populate-select-dropdown/" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....-dropdown/</a> more carfully. You will find for example that <strong>type: &#39;change&#39;</strong>. </p>
]]></description>
        	        	<pubDate>Fri, 02 Jul 2010 12:13:34 +0300</pubDate>
        </item>
        <item>
        	<title>ram2010 on how do I modify the dataUrl when a row is selected?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-do-i-modify-the-dataurl-when-a-row-is-selected#p18364</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-do-i-modify-the-dataurl-when-a-row-is-selected#p18364</guid>
        	        	<description><![CDATA[<p>Hi Oleg</p>
</p>
<p>I tried using your dataEvent but i only have it half working. As you know, when a row is selcted, all the columns with a select execute the dataUrl automatically.</p>
</p>
<p>problem 1:</p>
<p>What is the dataEvent to use?... &#39;click&#39; doesnt fire.. &#39;select&#39; is wrong... any ideas?</p>
</p>
<p>problem 2:</p>
<p>How do I identify the rowId when calling dataEvent? I tried putting this</p>
<p>var id = jQuery(#userGrid).jqGrid(&#39;getGridParam&#39;,&#39;selrow&#39;);</p>
</p>
<p>like so:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit534' value='Select Code' data-codeid='sfcode534' /></p>
<div class='sfcode' id='sfcode534'>&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; dataEvents :[{type: &#39;click&#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;fn: function(e) {<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;&#160;&#160; &#160;var id = jQuery(#userGrid).jqGrid(&#39;getGridParam&#39;,&#39;selrow&#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;&#160;&#160; &#160;$.get(&#39;admin/retrieveUsersAssignedProjectsURL?userId=&#39;+id, function(data){ <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;&#160;&#160; &#160;var res = $(data).html();<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;});<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;}]&#160;&#160; &#160;&#160;&#160; &#160;</div>
<p>but it causes an error and my grid doesnt load up.</p>
</p>
<p>Any thoughts on these 2 issues?</p>
<p>thanks</p>
]]></description>
        	        	<pubDate>Thu, 01 Jul 2010 23:58:22 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on how do I modify the dataUrl when a row is selected?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-do-i-modify-the-dataurl-when-a-row-is-selected#p18355</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-do-i-modify-the-dataurl-when-a-row-is-selected#p18355</guid>
        	        	<description><![CDATA[<p>You can use dateEvent to do this. See code example here:</p>
<p>/blog/?page_id=393/help/dynamically-populate-select-dropdown/&#38;value=dataEvents&#38;type=1&#38;include=1&#38;search=1&#38;ret=all</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Thu, 01 Jul 2010 14:14:00 +0300</pubDate>
        </item>
        <item>
        	<title>ram2010 on how do I modify the dataUrl when a row is selected?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-do-i-modify-the-dataurl-when-a-row-is-selected#p18333</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-do-i-modify-the-dataurl-when-a-row-is-selected#p18333</guid>
        	        	<description><![CDATA[<p>I have a column which is a select and when the row is selected it fires the dataUrl to retrieve the list from the server.</p>
<p>However I want to be able to modify that url and append the rowId to the end of it. what is the best way to do this?</p>
</p>
<p>should I use the dateinit function or is this a dateEvent? If you have a quick example of this I am greatful.</p>
</p>
<p>thanks</p>
]]></description>
        	        	<pubDate>Wed, 30 Jun 2010 22:10:09 +0300</pubDate>
        </item>
</channel>
</rss>