<?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: Get master detail by clicking on cell</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/get-master-detail-by-clicking-on-cell</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/get-master-detail-by-clicking-on-cell/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>KusTov on Get master detail by clicking on cell</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/get-master-detail-by-clicking-on-cell#p11182</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/get-master-detail-by-clicking-on-cell#p11182</guid>
        	        	<description><![CDATA[<blockquote>
<p>KusTov said:</p>
<p><strong>onSelectCell</strong> event doesn&#39;t work, maybe because I don&#39;t use inline edit. Instead of it I put</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9878' value='Select Code' data-codeid='sfcode9878' /></p>
<div class='sfcode' id='sfcode9878'>
<p>{name:&#39;code&#39;, index: &#39;code&#39;&#8230; , formatter:formatterSupplLink},</p>
</p>
<p>function formatterSupplLink(cellvalue, options, rowObject){</p>
<p>&#160;return &#8220;&#60;a href =&#39;javascript:&#39; onclick=&#39;showSupplierData(&#8221; + cellvalue + &#8220;)&#39;&#62;&#8221; + cellvalue + &#8220;&#60;/a&#62;&#8221;;</p>
<p>}</p>
</div>
<p>It works fine, but the problem in <strong>edit</strong>. I use a Navigation bar for edit and in field &#8220;code&#8221; I see &#60;a href=&#8230;&#8230;</p>
<p>What is the possible solution for this problem ?</p>
<p>Thanks</p>
</blockquote>
<hr />
<p><img class="spSmiley" style="margin:0" title="Cool" src="/blog/wp-content/forum-smileys/sf-cool.gif" alt="Cool" />I fixed it by using:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit4563' value='Select Code' data-codeid='sfcode4563' /></p>
<div class='sfcode' id='sfcode4563'>
<p>..unformat:unformatLink</p>
<p>function unformatLink(cellvalue, options){</p>
<p>&#160;return cellvalue</p>
<p>}</p>
</div>
]]></description>
        	        	<pubDate>Wed, 28 Oct 2009 09:13:11 +0200</pubDate>
        </item>
        <item>
        	<title>KusTov on Get master detail by clicking on cell</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/get-master-detail-by-clicking-on-cell#p10979</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/get-master-detail-by-clicking-on-cell#p10979</guid>
        	        	<description><![CDATA[<p><strong>onSelectCell</strong> event doesn&#39;t work, maybe because I don&#39;t use inline edit. Instead of it I put</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3210' value='Select Code' data-codeid='sfcode3210' /></p>
<div class='sfcode' id='sfcode3210'>
<p>{name:&#39;code&#39;, index: &#39;code&#39;... , formatter:formatterSupplLink},</p>
</p>
<p>function formatterSupplLink(cellvalue, options, rowObject){</p>
<p>&#160;return "&#60;a href =&#39;javascript:&#39; onclick=&#39;showSupplierData(" + cellvalue + ")&#39;&#62;" + cellvalue + "&#60;/a&#62;";</p>
<p>}</p>
</div>
<p>It works fine, but the problem in <strong>edit</strong>. I use a Navigation bar for edit and in field "code" I see &#60;a href=......</p>
<p>What is the possible solution for this problem ?</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Thu, 22 Oct 2009 03:20:33 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Get master detail by clicking on cell</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/get-master-detail-by-clicking-on-cell#p10920</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/get-master-detail-by-clicking-on-cell#p10920</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>This is the right event.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 21 Oct 2009 04:36:18 +0300</pubDate>
        </item>
        <item>
        	<title>KusTov on Get master detail by clicking on cell</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/get-master-detail-by-clicking-on-cell#p10913</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/get-master-detail-by-clicking-on-cell#p10913</guid>
        	        	<description><![CDATA[<p>Hello</p>
<p>I need to do something similar to what I saw in the demos: <span style="cursor: pointer;">Advanced-&#62;</span><span style="cursor: pointer;">Master Detail</span></p>
<p>The difference is that I want Master detail to appear when clicking on the specific cell which contains the ID whose data I would like to display.</p>
<p>I&#39;m going to use:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit4808' value='Select Code' data-codeid='sfcode4808' /></p>
<div class='sfcode' id='sfcode4808'>formatter: &#39;link&#39;</div>
<p>for this cell. Maybe I should use an <strong>onSelectCell</strong> event ?</p>
</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Wed, 21 Oct 2009 03:17:35 +0300</pubDate>
        </item>
</channel>
</rss>