<?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: idPrefix Option: Prefix is included as part of ID with showlink formatter</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter</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/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on idPrefix Option: Prefix is included as part of ID with showlink formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter#p28263</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter#p28263</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Thank you for yor investigations.</p>
<p>Any help is greatly appreciated.</p>
</p>
<p>Kind Regards</p>
]]></description>
        	        	<pubDate>Wed, 13 Feb 2013 15:14:14 +0200</pubDate>
        </item>
        <item>
        	<title>Inara on idPrefix Option: Prefix is included as part of ID with showlink formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter#p28259</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter#p28259</guid>
        	        	<description><![CDATA[<p>I just ran across one further issue with the idPrefix option: The getDataIDs method has no option for excluding the prefix. It&#39;s not the end of the world, since I can write a manual workaround each time I call getDataIDs, but it&#39;s still an easy way to get tripped up in coding. Would it be possible to add a parameter to the getDataIDs function to get the IDs back sans prefix (or just make that the default, if there are no real use-case scenarios for including the prefix)?</p>
</p>
<p><strong>EDIT: </strong>After experimenting more, I found that this issue is actually more of a general problem with all of the grid methods relating to row IDs. Most of them still expect to receive the row ID including the prefix for a parameter, and return the row ID including prefix as a result (where applicable). I can still write workarounds where necessary, but it makes the idPrefix attribute difficult to work with if you&#39;re building anything other than a very basic grid.</p>
</p>
<p>Thanks,</p>
<p>Inara</p>
]]></description>
        	        	<pubDate>Tue, 12 Feb 2013 21:15:44 +0200</pubDate>
        </item>
        <item>
        	<title>Inara on idPrefix Option: Prefix is included as part of ID with showlink formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter#p27857</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter#p27857</guid>
        	        	<description><![CDATA[<p>Thanks, Oleg. I&#39;ll definitely look into your plugin; it looks like it may be exactly what I need. I appreciate both of your responses.</p>
]]></description>
        	        	<pubDate>Wed, 05 Dec 2012 18:23:09 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on idPrefix Option: Prefix is included as part of ID with showlink formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter#p27854</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter#p27854</guid>
        	        	<description><![CDATA[<p>@Inara: You can use <a href="https://github.com/OlegKi/jqGrid-plugins/blob/master/jQuery.jqGrid.dynamicLink.js" target="_blank">dynamicLink</a> formatter if you want. See <a href="http://stackoverflow.com/a/9048483/315935" target="_blank">the answer</a>&#160;and <a href="http://stackoverflow.com/a/10479872/315935" target="_blank">this one</a> for the code examples. If you would include&#160;<strong>jQuery.jqGrid.dynamicLink.js</strong> file (which you can download from <a href="https://github.com/OlegKi/jqGrid-plugins/downloads" target="_blank">github</a>) after jqGrid JavaScript files you can use <strong>formatter: "dynamicLink"</strong>. So the usage of the formatter dynamicLink&#160;is exactly so simple as the usage of any <a href="/jqgridwiki/doku.php?id=wiki:predefined_formatter#predefined_format_types" target="_blank">predefined formatter</a> like formatter: "showlink".</p>
<p>@Tony: If you want you can add the formatter to the code of jqGrid.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Wed, 05 Dec 2012 13:17:50 +0200</pubDate>
        </item>
        <item>
        	<title>tony on idPrefix Option: Prefix is included as part of ID with showlink formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter#p27853</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter#p27853</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Correction - sorry. You will need to use a custom formatter in your case.</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 05 Dec 2012 11:13:05 +0200</pubDate>
        </item>
        <item>
        	<title>tony on idPrefix Option: Prefix is included as part of ID with showlink formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter#p27851</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter#p27851</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>You can use addParam to add additional parameter.</p>
<p>See <a href="/jqgridwiki/doku.php?id=wiki:predefined_formatter&#38;s[]=addparam" target="_blank">docs here</a></p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 05 Dec 2012 10:20:43 +0200</pubDate>
        </item>
        <item>
        	<title>Inara on idPrefix Option: Prefix is included as part of ID with showlink formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter#p27846</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter#p27846</guid>
        	        	<description><![CDATA[<p>Thanks for getting to this so quickly, Tony. I had one other question (which I supppose is more of a feature request than a bug, if it&#39;s not already possible): Is there any way to pass a data/column value other than the row ID with the showLink formatter, or would I need to create a custom formatter for that?</p>
]]></description>
        	        	<pubDate>Tue, 04 Dec 2012 18:52:57 +0200</pubDate>
        </item>
        <item>
        	<title>tony on idPrefix Option: Prefix is included as part of ID with showlink formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter#p27830</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter#p27830</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks for this. Fixed in GitHub. Please let me know if everthing is working fine.</p>
</p>
<p>Kind Regards</p>
]]></description>
        	        	<pubDate>Tue, 04 Dec 2012 10:18:58 +0200</pubDate>
        </item>
        <item>
        	<title>Inara on idPrefix Option: Prefix is included as part of ID with showlink formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter#p27827</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/idprefix-option-prefix-is-included-as-part-of-id-with-showlink-formatter#p27827</guid>
        	        	<description><![CDATA[<p>I recently started trying to use the idPrefix option for grids to avoid duplicate row IDs, but I found that it breaks the predefined showlink formatter, since the prefix isn&#39;t stripped off of the ID before being appended to the URL. (For example, if I have a row with ID 3 and an idPrefix of &#39;Event_&#39;, the url gets "id=Event_3" appended to it, instead of the desired "id=3".) Does anyone have a solution (or even a temporary workaround) for this issue?</p>
]]></description>
        	        	<pubDate>Tue, 04 Dec 2012 00:31:50 +0200</pubDate>
        </item>
</channel>
</rss>