<?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: format link for url rewriting</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/format-link-for-url-rewriting</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/format-link-for-url-rewriting/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on format link for url rewriting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/format-link-for-url-rewriting#p21162</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/format-link-for-url-rewriting#p21162</guid>
        	        	<description><![CDATA[<p>Hello Joris,</p>
<p>The predefined formatter <a href="/jqgridwiki/doku.php?id=wiki:predefined_formatter#predefined_format_types" target="_blank">showlink</a> is not perfect. It is very easy to write your own <a href="/jqgridwiki/doku.php?id=wiki:custom_formatter" target="_blank">custom formatter</a> which produce exact HTML code fragment for the link format which you need.</p>
<p>In both cases the function which you can call in the way must be global. If you prefer concept of <a href="http://en.wikipedia.org/wiki/Unobtrusive_JavaScript" target="_blank">unobtrusive JavaScript</a> you can use predefined formatter&#160;<a href="/jqgridwiki/doku.php?id=wiki:predefined_formatter#predefined_format_types" target="_blank">showlink</a>&#160;with &#39;#&#39; as the value of <strong>href</strong> attribute and make binding to the click on the link inside of loadComplete function. I created <a href="http://www.ok-soft-gmbh.com/jqGrid/UnobtrusiveLinks.htm" target="_blank">small demo example</a>&#160;which demonstrate the technique. On the click on the text like "Physics" in the table will be opened the url <a href="http://en.wikipedia.org/wiki/Physics" target="_blank">http://en.wikipedia.org/wiki/Physics</a>&#160;which will be build&#160;dynamical. I included an additional alert to show how to decode information about the row id additionally.</p>
<p>Best regards<br />Oleg&#160;</p></p>
]]></description>
        	        	<pubDate>Mon, 06 Dec 2010 00:41:10 +0200</pubDate>
        </item>
        <item>
        	<title>joris_webamine on format link for url rewriting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/format-link-for-url-rewriting#p21124</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/format-link-for-url-rewriting#p21124</guid>
        	        	<description><![CDATA[<p>Hi all</p>
<p>I&#39;d like to format a column cell as a link</p>
<p>I&#39;ve already read this wiki page : <a rel="nofollow" href="/jqgridw&#8230;..showaction" target="_blank"></a><a href="http://www.trirand.com/jqgridw" rel="nofollow" target="_blank">http://www.trirand.com/jqgridw</a>.....showaction</p>
<p>but there are only examples such as <br /><a rel="nofollow" href="http://localhost/someurl.php?myid=123&#38;action=edit" target="_blank"></a><a href="http://localhost/someurl.php?m" rel="nofollow" target="_blank">http://localhost/someurl.php?m</a>.....ction=edit</p>
<p>In my case, I use url-rewriting and I have to format links that look like :<br /><a rel="nofollow" href="http://localhost/someurl/123/edit" target="_blank">http://localhost/someurl/123/edit</a></p>
<p>As I don&#39;t have an example that fits well, I tried somethings using jqGridRender::setColProperty()<br />but nothing works as expected. </p>
<p>Is there a way I can do that with jqGridRender (either server-side or client-side) ?</p>
<p>Thank you.</p>
]]></description>
        	        	<pubDate>Fri, 03 Dec 2010 17:34:58 +0200</pubDate>
        </item>
</channel>
</rss>