<?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: v3.5 - Inline Editing: onSelectRow &#38; row id bug?</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/v35-inline-editing-onselectrow-row-id-bug</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/v35-inline-editing-onselectrow-row-id-bug/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>samuel on v3.5 - Inline Editing: onSelectRow &#38; row id bug?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/v35-inline-editing-onselectrow-row-id-bug#p7867</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/v35-inline-editing-onselectrow-row-id-bug#p7867</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
</p>
<p>thanks this works as required now. Sorry if my description confused you, the problem became apparent to me on selecting a row which is why my post referred to onSelectRow().</p>
</p>
<p>Thanks for your help.</p>
<p>Sam.</p>
]]></description>
        	        	<pubDate>Thu, 16 Jul 2009 07:02:33 +0300</pubDate>
        </item>
        <item>
        	<title>tony on v3.5 - Inline Editing: onSelectRow &#38; row id bug?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/v35-inline-editing-onselectrow-row-id-bug#p7844</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/v35-inline-editing-onselectrow-row-id-bug#p7844</guid>
        	        	<description><![CDATA[<p>Hello Sam,</p>
<p>Sorry but your description is not correct. You point me to onSelectRow, but actually this is conected with addRowData. See the changes in GitHub and let me know if this work now</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 16 Jul 2009 00:51:24 +0300</pubDate>
        </item>
        <item>
        	<title>samuel on v3.5 - Inline Editing: onSelectRow &#38; row id bug?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/v35-inline-editing-onselectrow-row-id-bug#p7821</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/v35-inline-editing-onselectrow-row-id-bug#p7821</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>sorry if my description was not clear, i will try to give an example which you can test on v3.4.4 &#38; v3.5 to show the problem.</p>
</p>
<p>Create a grid as shown in your demo page &#62; row editing &#62; input types.</p>
</p>
<p>In colModel: comment out first line defining column &#39;id&#39;</p>
<p>//{name:&#39;id&#39;,index:&#39;id&#39;, width:90, sorttype:"int", editable: true},</p>
</p>
<p>In var mydata2: remove id:value pairs from each row:-</p>
<p>{id:"12345",name:"Desktop Computer",note:"note",stock:"Yes",ship:"FedEx"},</p>
<p><em>becomes:</em></p>
<p>{name:"Desktop Computer",note:"note",stock:"Yes",ship:"FedEx"},</p>
</p>
<p>Now when selecting a row:</p>
<p>onSelectRow: function(id){</p>
<p>&#160;&#160;&#160;&#160; alert(id);</p>
<p>&#160;&#160;&#160; // rest&#160; of code here...</p>
<p>}</p>
</p>
<p><span style="text-decoration: underline;">Testing:</span></p>
<p>Using version 3.4.4,&#160; the grid will still work and&#160; &#39;id&#39; has a value when you select a row, even though we have removed the column &#39;id&#39;.&#160;</p>
</p>
<p>Using version 3.5&#160; &#39;id&#39;&#160; is returned as undefined. the grid does not work in the same way as version 3.4.4.</p>
</p>
<p>I hope this explains a little better.&#160; My implementation expects the behaviour from 3.4.4.&#160; Please let me know if you have any questions.</p>
</p>
<p>thanks, Sam.</p>
]]></description>
        	        	<pubDate>Tue, 14 Jul 2009 14:28:42 +0300</pubDate>
        </item>
        <item>
        	<title>tony on v3.5 - Inline Editing: onSelectRow &#38; row id bug?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/v35-inline-editing-onselectrow-row-id-bug#p7814</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/v35-inline-editing-onselectrow-row-id-bug#p7814</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>It is difficult to me to understand what you mean.</p>
<p>onSelectRow does nothing to do with inline edit. It is just a way to call editing.</p>
<p>If yo do not pass a parameter to t onSelectRow you will not have this. I fo not understand waht you mean.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 14 Jul 2009 12:24:00 +0300</pubDate>
        </item>
        <item>
        	<title>samuel on v3.5 - Inline Editing: onSelectRow &#38; row id bug?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/v35-inline-editing-onselectrow-row-id-bug#p7813</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/v35-inline-editing-onselectrow-row-id-bug#p7813</guid>
        	        	<description><![CDATA[<hr />
<p>When using inline editing In build 3.5,&#160; a row id column needs to be explicitly defined, to select a row using:</p>
<p>onSelectRow: function(id) *OR* ondblClickRow: function(id).</p>
</p>
<p>If no id column is defined, the functions above return &#39;undefined&#39; when testing &#39;id&#39;.</p>
</p>
<p>In version 3.4.4, if no id column is defined, the row id returned using onSelectRow &#38; ondblClickRow is the row position in the grid,&#160; e.g. 4th row,&#160; id = 4.</p>
</p>
<p>As I present a blank grid which the user enters details into, the functionality from v3.4.4 is important to me. Could you confirm if this behaviour is no longer supported or if this is a bug in v3.5.</p>
</p>
<p>Thanks, Sam.</p>
]]></description>
        	        	<pubDate>Tue, 14 Jul 2009 12:17:57 +0300</pubDate>
        </item>
</channel>
</rss>