<?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: showlink target option does not work</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/showlink-target-option-does-not-work</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/showlink-target-option-does-not-work/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on showlink target option does not work</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/showlink-target-option-does-not-work#p19253</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/showlink-target-option-does-not-work#p19253</guid>
        	        	<description><![CDATA[<p>Hi!</p>
<p>I use <strong>&#39;showlink&#39;</strong>&#160;like following</p>
<p><span style="font-size: 13.8889px;">formatter: &#39;showlink&#39;, formatoptions: { baseLinkUrl: &#39;javascript:&#39;,<br /></span><span style="font-size: 13.8889px;">&#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; &#160; &#160; &#160;showAction: "MyBase.GetChangeData(jQuery(&#39;#list&#39;),&#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; &#160; &#160; &#160;addParam: "&#39;);" </span>}</p>
<p>to call global <strong>MyBase.GetChangeData</strong> function. The function&#160;<strong>GetChangeData</strong> which has prototype <strong>function (grid,param)</strong> I start with following code</p>
<p>var ar = param.split(&#39;=&#39;);<br /><span style="font-size: 13.8889px;">if (grid.length &#62; 0 &#38;&#38; ar.length === 2 &#38;&#38; ar[0] === &#39;?id&#39;) {</span></p>
<p><span style="font-size: 13.8889px;">&#160;&#160; &#160;var rowid = ar[1];<br /><span style="font-size: 13.8889px;">&#160;&#160; &#160;grid.setSelection(rowid); // or some other usage of jqGrid</span></span></p>
<p>&#160;&#160; &#8230;</p>
<p>}</p>
<p><span style="font-size: 13.8889px;">It can be not the best example of the usage of <strong>&#39;showlink&#39;</strong>&#160;but it works in my code.</span></p>
<p><span style="font-size: 13.8889px;">Best regards<br />Oleg&#160;</span></p></p>
]]></description>
        	        	<pubDate>Mon, 23 Aug 2010 17:15:43 +0300</pubDate>
        </item>
        <item>
        	<title>ram2010 on showlink target option does not work</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/showlink-target-option-does-not-work#p19252</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/showlink-target-option-does-not-work#p19252</guid>
        	        	<description><![CDATA[<p>The 2nd error is caused because a new jsp page is loaded and this new jsp doesnt have jquery.</p>
</p>
<p>If the target attribute worked properly and loaded in the div, then I will have jquery already loaded and will not get the 2nd issue.</p>
</p>
<p>Has anyone successfullyu implemented showlink? if so, does it load the result properly into the target dive?</p>
<p>thanks</p>
]]></description>
        	        	<pubDate>Mon, 23 Aug 2010 14:59:41 +0300</pubDate>
        </item>
        <item>
        	<title>ram2010 on showlink target option does not work</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/showlink-target-option-does-not-work#p19143</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/showlink-target-option-does-not-work#p19143</guid>
        	        	<description><![CDATA[<p>Hi</p>
<p>I have implemented the showlink functionality as described here: /jqgridwiki/doku.php?id=wiki:predefined_formatter#predefined_format_types</p>
</p>
<p>Below is the html code that is rendered</p>
<p>&#60;a href="qa/goToReportList?reportId=2&#8243; target="main"&#62;1900x&#60;/a&#62;</p>
<p>I have 2 problems:</p>
<p>1) the target attribute opens up in a new browser. Why is this happening? I have a div called &#39;main&#39; and I want the html to be rendered in that div and not a new browser window.</p>
<p>2) I am getting the following error on my new page in firebug console &#38; nothing is displayed:</p>
<div class="errorTitle focusRow subLogRow ">$ is not defined</div>
<div class="errorSourceBox errorSource-show focusRow subLogRow a11yModified">error source line: $ is not defined. <a class="errorSource a11yFocus " tabindex="0" target="_blank">$(document).ready(function () { </a></div>
<div class="errorSourceBox errorSource-show focusRow subLogRow a11yModified">why is this error happening?</div>
<p>many thanks</p>
]]></description>
        	        	<pubDate>Sun, 15 Aug 2010 22:32:33 +0300</pubDate>
        </item>
</channel>
</rss>