<?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 make a row linkable?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-make-a-row-linkable</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-to-make-a-row-linkable/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>kuafusoft on How to make a row linkable?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-make-a-row-linkable#p13634</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-make-a-row-linkable#p13634</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>Thank you very much. I found a similar article:/blog/?page_id=393/discussion/selecting-row</p>
<p>I tried the onCellSelect Event, yes, it&#39;s almost good enough. But there&#39;s no underline to tell the user that it can be clicked and I hope that only when the user click the text, the edit or view form pop up.</p>
<p>Now I add a link after gridComplete event like &#8220;&#60;a href=&#8221;javascript:grid_edit(gridId, rowId)&#8221;&#62;aaaa&#60;/a&#62;&#8221; for I can not get the rowId in custom format parameters. If I can get the gridId, I can do it with a custom formatter. How can I get the gridId just with jqgrid method?</p>
</p>
<p>I&#39;m a fool!!</p>
<p>I can get the gridid:</p>
<pre class="prettyprint"><code><span class="pln">gridId </span><span class="pun">=</span><span class="pln"> $</span><span class="pun">(</span><span class="kwd">this</span><span class="pun">).</span><span class="pln">attr</span><span class="pun">(</span><span class="str">&#39;id&#39;</span><span class="pun">);<br /><br />right?<br /><br />I&#39;m wrong. in the custom formatter function, I can not get $(this).:(<br /><br /><br /></span></code></pre>
<p>Can we put the gridId in the opt in formatter function? I looked the source code, it seems I can do it in formatter function in grid.base.js, about line 394.</p>
</p>
<p>Thank you again.</p></p>
]]></description>
        	        	<pubDate>Thu, 07 Jan 2010 10:45:32 +0200</pubDate>
        </item>
        <item>
        	<title>kikz4life on How to make a row linkable?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-make-a-row-linkable#p13628</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-make-a-row-linkable#p13628</guid>
        	        	<description><![CDATA[<p>hi tony,</p>
</p>
<p>i tried your suggested link for docu in formatter. uhmm., i like this part in the <a href="http://www.trirand.com/blog/jqgrid/jqgrid.html#" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/jq" rel="nofollow">http://www.trirand.com/blog/jq</a>.....grid.html#</a> about formatter: &#39;link&#39; bcoz it redirect me to a next page(close enough:)) but i dont want it to redirecting me to a next page/window.</p>
<p>{name:&#39;user&#39;, index:&#39;user&#39;, width:80, editable: true, formatter: &#39;link&#39;},</p>
</p>
<p>What i would like to do is when i click the cell it will show me the details/information of that person in the same page but the jqgrid will be disable/hide. It&#39;s like just hiding the jq datagrid and will display the html page for the details. Am i clear? sorry for my messy explanation. 🙂</p>
</p>
<p>thanks again tony</p>
]]></description>
        	        	<pubDate>Thu, 07 Jan 2010 08:13:12 +0200</pubDate>
        </item>
        <item>
        	<title>tony on How to make a row linkable?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-make-a-row-linkable#p13601</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-make-a-row-linkable#p13601</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Sorry do not understand exact what you want.</p>
<p>Try to use onCellSelect event something like</p>
<p><input type='button' class='sfcodeselect' name='sfselectit972' value='Select Code' data-codeid='sfcode972' /></p>
<div class='sfcode' id='sfcode972'>
<p>onCellSelect : function(rowid, iCol, content, e ) {</p>
<p>if(iCol == 2 ) // This is the index of the column in colModel</p>
<p>{</p>
<p>// call here you javascript function</p>
<p>....</p>
<p>}</p>
<p>}</p>
</div>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 06 Jan 2010 12:09:18 +0200</pubDate>
        </item>
        <item>
        	<title>kuafusoft on How to make a row linkable?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-make-a-row-linkable#p13600</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-make-a-row-linkable#p13600</guid>
        	        	<description><![CDATA[<p>Tony,</p>
</p>
<p>Sometimes we want to link to a javascript function, such as I met before: I want to edit the current row when I click a cell. It seems can not done by the link or showlink formatter.</p>
</p>
<p>Regards.</p></p>
]]></description>
        	        	<pubDate>Wed, 06 Jan 2010 11:59:06 +0200</pubDate>
        </item>
        <item>
        	<title>tony on How to make a row linkable?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-make-a-row-linkable#p13597</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-make-a-row-linkable#p13597</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks.</p>
<p>Maybe you should use a formatter link or better showLink where you can set the link for the desired page again with the</p>
<p>parameters what you want.</p>
<p>More you can find here:</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:predefined_formatter#predefined_format_types" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....rmat_types</a></p>
</p>
<p>Please let me know if this is applicable for you.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 06 Jan 2010 10:15:05 +0200</pubDate>
        </item>
        <item>
        	<title>kikz4life on How to make a row linkable?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-make-a-row-linkable#p13578</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-make-a-row-linkable#p13578</guid>
        	        	<description><![CDATA[<p>hi,</p>
</p>
<p>just started using jqgrid, previously i used flexigrid.</p>
<p>in flexigrid i can used this that a row is clickable and if click will be directed to its detailed information</p>
<p>i.e in flexigrid</p>
<p>{display: &#39;&#60;?=lang("username")?&#62;&#39;, name : &#39;username&#39;, width : 100, align : &#39;left&#39;, process:viewHeader, sortable:true}</p>
</p>
<p>the process: viewHeader is an html page that will show the record of the username in a page</p>
</p>
<p>and this is jqgrid:</p>
<p>{name:&#39;role_code&#39;,index:&#39;role_code&#39;, width:80, editable:true, editrules: {required:true}},</p>
</p>
<p>does jqgrid have this functionality? also i&#39;ve seen the added button for view file but i preferable like the row to be link in a new same window/page. Any response from the community will be a great help for me.</p>
</p>
<p>PS: data loading is much faster compared to flexigrid. really like this stuff!!! <img class="spSmiley" style="margin:0" title="Cool" src="/blog/wp-content/forum-smileys/sf-cool.gif" alt="Cool" /></p>
</p>
<p>thanks</p>
<p>-Dean</p>
]]></description>
        	        	<pubDate>Wed, 06 Jan 2010 04:04:17 +0200</pubDate>
        </item>
</channel>
</rss>