<?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: Bug in row selection - v 4.1</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-row-selection-v-4-1</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/bug-in-row-selection-v-4-1/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tkowalcz on Bug in row selection - v 4.1</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-row-selection-v-4-1#p23662</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-row-selection-v-4-1#p23662</guid>
        	        	<description><![CDATA[<blockquote>
<p>OlegK said:</p>
<p>Hello Tomek,</p>
<p>corresponds to the HTML specification the ids of all elements <strong>must be unique</strong> on the page.</p>
</blockquote>
<hr />
<p>Thank you OlegK,</p>
</p>
<p>I did&#39;n know that this is required to have unique id&#39;s per page. I will use what you suggested.</p>
</p>
<p>All the best, Tomek</p>
]]></description>
        	        	<pubDate>Fri, 17 Jun 2011 16:14:11 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Bug in row selection - v 4.1</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-row-selection-v-4-1#p23661</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-row-selection-v-4-1#p23661</guid>
        	        	<description><![CDATA[<p>Hello Tomek,</p>
<p>corresponds to the HTML specification the ids of all elements <strong>must be unique</strong> on the page. You can easy solve the problem if you add in the data (but not in the column) of every grid the id proper</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1763' value='Select Code' data-codeid='sfcode1763' /></p>
<div class='sfcode' id='sfcode1763'>data: [<br />&#160; &#160; { <strong>id:&#34;m472&#34;,&#160;</strong>&#34;Variant_Auto_ID&#34;: &#34;472&#34;, &#34;Variant_ID&#34;: &#34;test&#34; },<br />&#160; &#160; { <strong>id:&#34;m473&#34;,&#160;</strong>&#34;Variant_Auto_ID&#34;: &#34;473&#34;, &#34;Variant_ID&#34;: &#34;test2&#34; },<br />&#160; &#160; { <strong>id:&#34;m474&#34;,&#160;</strong>&#34;Variant_Auto_ID&#34;: &#34;474&#34;, &#34;Variant_ID&#34;: &#34;test3&#34; },<br />&#160; &#160; { <strong>id:&#34;m475&#34;,&#160;</strong>&#34;Variant_Auto_ID&#34;: &#34;475&#34;, &#34;Variant_ID&#34;: &#34;test4&#34;}<br />],<br />datatype: &#34;local&#34;,<br />colNames: [&#39;Variant_Auto_ID&#39;, &#39;Variant ID&#39;],<br />colModel: [<br />&#160; &#160; { name: &#39;Variant_Auto_ID&#39;, index: &#39;Variant_Auto_ID&#39;, width: 60, hidden: false },<br />&#160; &#160; { name: &#39;Variant_ID&#39;, index: &#39;Variant_ID&#39;, width: 60, editable: true }<br />]</div>
<p>and for the subgrid:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5073' value='Select Code' data-codeid='sfcode5073' /></p>
<div class='sfcode' id='sfcode5073'>data: [<br />&#160; &#160; { <strong>id:&#34;s472&#34;,&#160;</strong>&#34;Step_ID&#34;: &#34;472&#34;, &#34;Variant_ID&#34;: variant_id },<br />&#160; &#160; { <strong>id:&#34;s473&#34;,&#160;</strong>&#34;Step_ID&#34;: &#34;473&#34;, &#34;Variant_ID&#34;: variant_id },<br />&#160; &#160; { <strong>id:&#34;s474&#34;,&#160;</strong>&#34;Step_ID&#34;: &#34;474&#34;, &#34;Variant_ID&#34;: variant_id },<br />&#160; &#160; { <strong>id:&#34;s475&#34;,&#160;</strong>&#34;Step_ID&#34;: &#34;475&#34;, &#34;Variant_ID&#34;: variant_id}<br />],<br />datatype: &#34;local&#34;,<br />colNames: [&#39;Step_ID&#39;, &#39;Variant_ID&#39;],<br />colModel: [<br />&#160; &#160; { name: &#34;Step_ID&#34;, index: &#34;Step_ID&#34;, width: 80, hidden: false },<br />&#160; &#160; { name: &#34;Variant_ID&#34;, index: &#34;Variant_ID&#34;, width: 140, hidden: false }<br />]&#160;</div>
<p>You can construct the values of id propery using some prefix. Like "m" for main grid and "s" for the subgrid. If you can have many subgrids with the same data you can use "s1_", "s2_" prefixes or with any other rules.</p>
<p>Important only that at the end the page have to have no id duplicates.</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Fri, 17 Jun 2011 16:00:00 +0300</pubDate>
        </item>
        <item>
        	<title>tkowalcz on Bug in row selection - v 4.1</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-row-selection-v-4-1#p23658</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-row-selection-v-4-1#p23658</guid>
        	        	<description><![CDATA[<p>Thanks OlegK</p>
<p>If I separate grid keys &#8211; it is fine, but:</p>
<p>1) These are separate grids, so there should be no connection between</p>
<p>2) I don&#39;t need to specify key.</p>
<p>3) If the Id&#39;s are the same for both grids &#8211; problem exists (look at current example code), I&#39;ve left three same ids and one different 222</p>
</p>
<p>This means that it works fine unless parent grid Id is different than subgrid.</p>
<p>Probably workaround is to add extra column that will be a key. It would be constructed from SubgridId + id (I think that in one of versions it was like that).</p>
</p>
<p>Tomek</p></p>
]]></description>
        	        	<pubDate>Fri, 17 Jun 2011 14:23:08 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Bug in row selection - v 4.1</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-row-selection-v-4-1#p23655</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-row-selection-v-4-1#p23655</guid>
        	        	<description><![CDATA[<p>It seems for me mostly like the wrong usage of row ids. One uses</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7258' value='Select Code' data-codeid='sfcode7258' /></p>
<div class='sfcode' id='sfcode7258'>data: [<br />&#160; &#160; { &#34;Variant_Auto_ID&#34;: &#34;472&#34;, &#34;Variant_ID&#34;: &#34;test&#34; },<br />&#160; &#160; { &#34;Variant_Auto_ID&#34;: &#34;473&#34;, &#34;Variant_ID&#34;: &#34;test2&#34; },<br />&#160; &#160; { &#34;Variant_Auto_ID&#34;: &#34;474&#34;, &#34;Variant_ID&#34;: &#34;test3&#34; },<br />&#160; &#160; { &#34;Variant_Auto_ID&#34;: &#34;475&#34;, &#34;Variant_ID&#34;: &#34;test4&#34;}<br />],<br />datatype: &#34;local&#34;,<br />colNames: [&#39;Variant_Auto_ID&#39;, &#39;Variant ID&#39;],<br />colModel: [<br />&#160; &#160; { name: &#39;Variant_Auto_ID&#39;, index: &#39;Variant_Auto_ID&#39;, width: 60, hidden: false },<br />&#160; &#160; { name: &#39;Variant_ID&#39;, index: &#39;Variant_ID&#39;, width: 60, editable: true }<br />]</div>
<p>for the main grid without the usage of key:true or localReader:{id:&#39;Variant_Auto_ID&#39;}. So one has integers 1,2,3... as the row ids.</p>
<p>In the same way one uses</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1323' value='Select Code' data-codeid='sfcode1323' /></p>
<div class='sfcode' id='sfcode1323'>data: [<br />&#160; &#160; { &#34;Step_ID&#34;: &#34;472&#34;, &#34;Variant_ID&#34;: variant_id },<br />&#160; &#160; { &#34;Step_ID&#34;: &#34;473&#34;, &#34;Variant_ID&#34;: variant_id },<br />&#160; &#160; { &#34;Step_ID&#34;: &#34;474&#34;, &#34;Variant_ID&#34;: variant_id },<br />&#160; &#160; { &#34;Step_ID&#34;: &#34;475&#34;, &#34;Variant_ID&#34;: variant_id}<br />],<br />datatype: &#34;local&#34;,<br />colNames: [&#39;Step_ID&#39;, &#39;Variant_ID&#39;],<br />colModel: [<br />&#160; &#160; { name: &#34;Step_ID&#34;, index: &#34;Step_ID&#34;, width: 80, hidden: false },<br />&#160; &#160; { name: &#34;Variant_ID&#34;, index: &#34;Variant_ID&#34;, width: 140, hidden: false }<br />]&#160;</div>
<p>and have the same integer row ids because of the same problem.</p>
<p>So for me the problem looks like the wrond usage of jqGrid and no jqGrid bug.</p>
<p>Best regards<br />Oleg&#160;</p></p>
]]></description>
        	        	<pubDate>Fri, 17 Jun 2011 13:17:13 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Bug in row selection - v 4.1</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-row-selection-v-4-1#p23653</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-row-selection-v-4-1#p23653</guid>
        	        	<description><![CDATA[<p>Thanks. Found the problem. Hummm very bad. Should make a option. If I fix this bug , then the jQuery live can not be used and vice versa - this is somthing like Catch 22 ..</p>
]]></description>
        	        	<pubDate>Fri, 17 Jun 2011 13:03:11 +0300</pubDate>
        </item>
        <item>
        	<title>tkowalcz on Bug in row selection - v 4.1</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-row-selection-v-4-1#p23650</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-row-selection-v-4-1#p23650</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>I don&#39;t have real version, but I&#39;ve put simple example on server with ads (sorry for that):</p>
<p><a href="http://www.tkowalcz.yoyo.pl/Test.htm" rel="nofollow" target="_blank">http://www.tkowalcz.yoyo.pl/Test.htm</a></p>
</p>
<p>As in subject it&#39;s jqGrid 4.1</p>
</p>
<p>Best regards, Tomek</p>
]]></description>
        	        	<pubDate>Fri, 17 Jun 2011 10:59:14 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Bug in row selection - v 4.1</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-row-selection-v-4-1#p23638</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-row-selection-v-4-1#p23638</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Which version is used?</p>
<p>Could you please3 prepare a exmple. If you do this, please do not forget to include non minified version</p>
<p>Thank you.</p>
</p>
<p>Kind Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 16 Jun 2011 17:03:04 +0300</pubDate>
        </item>
        <item>
        	<title>tkowalcz on Bug in row selection - v 4.1</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-row-selection-v-4-1#p23634</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-row-selection-v-4-1#p23634</guid>
        	        	<description><![CDATA[<p>Hello everyone,</p>
<p>I have subgrid as a grid. When I select child grid - also parent row is selected (with the same id). Also two events (onSelectRow) are triggered for both grids.</p>
<p>Any clue Tony?</p>
</p>
<p>Regards, Tomasz</p>
]]></description>
        	        	<pubDate>Thu, 16 Jun 2011 16:43:22 +0300</pubDate>
        </item>
</channel>
</rss>