<?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: Name clash between "id" and Indonesian language code (id)</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/name-clash-between-id-and-indonesian-language-code-id</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/name-clash-between-id-and-indonesian-language-code-id/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>karabot on Name clash between "id" and Indonesian language code (id)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/name-clash-between-id-and-indonesian-language-code-id#p12978</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/name-clash-between-id-and-indonesian-language-code-id#p12978</guid>
        	        	<description><![CDATA[<p>Thank you Tony!</p>
</p>
<p>Mark, I ended up changing both the language column names by adding a prefix and changing the id input parameter to row_id as soon as the execution enters the server code. &#160;This pretty much guaranteed there will not be any surprises such as the one you mention :).</p>
</p>
<p>Thanks again for the responses guys.</p>
<p>George</p>
]]></description>
        	        	<pubDate>Sun, 13 Dec 2009 21:25:25 +0200</pubDate>
        </item>
        <item>
        	<title>markw65 on Name clash between "id" and Indonesian language code (id)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/name-clash-between-id-and-indonesian-language-code-id#p12977</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/name-clash-between-id-and-indonesian-language-code-id#p12977</guid>
        	        	<description><![CDATA[<p>There is a workaround.</p>
</p>
<p>Your beforeSubmit handler can delete the postdata.id field, and add postdata.row_id.</p>
</p>
<p>You need to be careful handling the "add" case (rather than edit), because the grid differentiates the two by checking whether postdata.id == "_empty".</p>
</p>
<p>You can solve that by /not/ deleting the "id" field (in which case the server will see both id, and row_id), or by adding it back in your afterSubmit function.</p>
</p>
<p>Mark</p></p>
]]></description>
        	        	<pubDate>Sun, 13 Dec 2009 19:49:46 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Name clash between "id" and Indonesian language code (id)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/name-clash-between-id-and-indonesian-language-code-id#p12963</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/name-clash-between-id-and-indonesian-language-code-id#p12963</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Hello,</p>
<p>Thank you for this. This is one thing that should be corrected. For now we put the id hard. We plan to change this in a way that the user will set it in a way what they want. Maybe will be available in the next release.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 13 Dec 2009 17:36:47 +0200</pubDate>
        </item>
        <item>
        	<title>karabot on Name clash between "id" and Indonesian language code (id)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/name-clash-between-id-and-indonesian-language-code-id#p12933</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/name-clash-between-id-and-indonesian-language-code-id#p12933</guid>
        	        	<description><![CDATA[<p>I have another comment/question.&#160; When I edit a row and I save it, on the server side, I still see id instread of row_id as I have stated in the jsonReader.&#160; Any easy way I can have the row_id passed instead of id?</p>
<p>George</p>
]]></description>
        	        	<pubDate>Fri, 11 Dec 2009 17:48:40 +0200</pubDate>
        </item>
        <item>
        	<title>karabot on Name clash between "id" and Indonesian language code (id)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/name-clash-between-id-and-indonesian-language-code-id#p12929</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/name-clash-between-id-and-indonesian-language-code-id#p12929</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I have run into relatevely small problem but nonetheless worthy to mention.&#160; There seems to be a name class between the internal id name for identifying rows and the Indonesian language code, which is also id.&#160; The problem is shown when such language codes are set as column names.&#160; I tried renaming the id to row_id using the jsonReader option with no effect.&#160; So the only way I can think of fixing this is to add a prefix to such language codes when used as columns.</p>
<p>If you have run into this problem or similar problems and you have a better (less intrusive solution) please let me know.</p>
<p>TIA,</p>
<p>George</p>
]]></description>
        	        	<pubDate>Fri, 11 Dec 2009 16:07:57 +0200</pubDate>
        </item>
</channel>
</rss>