<?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: Conflit with id from recordset with Jqgrid id</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/conflit-with-id-from-recordset-with-jqgrid-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/conflit-with-id-from-recordset-with-jqgrid-id/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>mario.arancione on Conflit with id from recordset with Jqgrid id</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conflit-with-id-from-recordset-with-jqgrid-id#p20938</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conflit-with-id-from-recordset-with-jqgrid-id#p20938</guid>
        	        	<description><![CDATA[<p>I&#39;m sorry to see that no one helped me, I was hoping there were a comunity <img class="spSmiley" style="margin:0" title="Confused" src="/blog/wp-content/forum-smileys/sf-confused.gif" alt="Confused" />?</p>
<p>Fortunately I found a solution (by myself <img class="spSmiley" style="margin:0" title="Wink" src="/blog/wp-content/forum-smileys/sf-wink.gif" alt="Wink" />).</p>
<p>Moreover I would like to say that I also notice a <span style="text-decoration: underline;"><strong>bug on jqgrid</strong></span>.</p>
<p>Please try this test:</p>
<p>-On a multiple selection do a clic on all rows (except header) to check it</p>
<p>Then</p>
<p>-Do a click on header checkbox (will do nothing because all rows should have already been selected).</p>
<p>-Unselect all rows by clicking on each checkbox (except header one).</p>
<p>You should have no row selected and should have checked header checkbox</p>
</p>
<p>Try to click on "Get Selected id&#39;s" you will have an id even though no row is selected 😉</p>
</p>
<p>You can try here: <a rel="nofollow" href="http://trirand.com/blog/jqgrid/jqgrid.html" target="_blank"></a><a href="http://trirand.com/blog/jqgrid" rel="nofollow" target="_blank">http://trirand.com/blog/jqgrid</a>.....qgrid.html</p>
]]></description>
        	        	<pubDate>Mon, 22 Nov 2010 12:38:23 +0200</pubDate>
        </item>
        <item>
        	<title>mario.arancione on Conflit with id from recordset with Jqgrid id</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conflit-with-id-from-recordset-with-jqgrid-id#p20888</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conflit-with-id-from-recordset-with-jqgrid-id#p20888</guid>
        	        	<description><![CDATA[<p>It seems it can be a problem linked to <strong><em>addRowData</em></strong> method.</p>
<p>Example:</p>
<p>var myfirstrow = {invid:"1", invdate:"2007-10-01", note:"note", amount:"200.00", tax:"10.00", total:"210.00"};</p>
<p>jQuery("#myDiv").addRowData("<span style="color: #ff0000;">not_numericID</span>", myfirstrow);</p>
</p>
<p>I think it&#39;s what is happening (internally) if addRowData&#39;s first parameter (id) is not a numeric one there&#39;s a conflict and you cannot have a checked checkox on select row.</p>
<p>But how to fix it?</p>
<p>Because in my case i don&#39;t call explicitaly addRowData , i only give a recordSet to Jqgrid.</p>
]]></description>
        	        	<pubDate>Thu, 18 Nov 2010 13:38:13 +0200</pubDate>
        </item>
        <item>
        	<title>mario.arancione on Conflit with id from recordset with Jqgrid id</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conflit-with-id-from-recordset-with-jqgrid-id#p20886</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conflit-with-id-from-recordset-with-jqgrid-id#p20886</guid>
        	        	<description><![CDATA[<p>Hello all,</p>
<p>i&#39;ve been searching if someone already had the problem but I didn&#39;t find...</p>
<p>I currently have a problem with Jqgrid.</p>
<p>I do an extraction data from a database:</p>
<p><span style="text-decoration: underline;">Example</span></p>
<p>select id, firstname, lastname,&#160; from users;&#160; &#60;-- id is the email so NOT a numeric key</p>
</p>
<p>If I give a recordset data from the above query to Jqgrid it&#39;s <strong><span style="text-decoration: underline;">impossible</span></strong> to have a checkbox automatically checked on select row (standart behaviour of Jqgrid).</p>
<p>Instead if I don&#39;t select a field called "id" or more surprisingly if i select a numeric field called "id" it solves the problem..</p>
<p>We currently have a lot of db queries so that would be impossible to us to changed all of them..by removing id&#39;s fields.</p>
<p>That&#39;s the reason why i&#39;m asking comunity&#39;s help in order to solve this problem by changing Jqgrid&#39;s behaviour.</p>
</p>
<p>Thank you</p>
]]></description>
        	        	<pubDate>Thu, 18 Nov 2010 12:43:16 +0200</pubDate>
        </item>
</channel>
</rss>