<?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: Second row doesn't release selection status</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status</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/second-row-doesnt-release-selection-status/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Second row doesn't release selection status</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3583</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3583</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I hope that there are no more such code <img class="spSmiley" style="margin:0" title="Wink" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-wink.gif" border="0" alt="Wink" /></p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 17 Dec 2008 11:24:22 +0200</pubDate>
        </item>
        <item>
        	<title>trevorsharrison on Second row doesn't release selection status</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3577</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3577</guid>
        	        	<description><![CDATA[<p>I don&#39;t directly use it.&#160; I was just guessing that it was the piece of code responsible for adding rows to the table.</p>
<p>There may be other places in your code that do something similar to addRowData(), I just don&#39;t know.</p>
</p>
<p>-Trevor</p></p>
]]></description>
        	        	<pubDate>Tue, 16 Dec 2008 15:20:07 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Second row doesn't release selection status</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3572</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3572</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thank you for this. Will be fixed. Never think that you use addRowData.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 16 Dec 2008 11:29:16 +0200</pubDate>
        </item>
        <item>
        	<title>trevorsharrison on Second row doesn't release selection status</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3571</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3571</guid>
        	        	<description><![CDATA[<p>Well, maybe not exactly if (... ), but there is something equivilent.&#160; Just doing a quick check I&#39;m finding:</p>
</p>
<p>row.id = rowid &#124;&#124; t.p.records+1;</p>
</p>
<p>in $.fn.addRowData().</p>
</p>
<p>-Trevor</p></p>
]]></description>
        	        	<pubDate>Tue, 16 Dec 2008 11:10:46 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Second row doesn't release selection status</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3555</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3555</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>In the jqGrid code there is no checking of if(rowdata[id])...</p>
<p>If this happens with the examples of the demo - so it is my bad.</p>
<p>If there are no id jqGrid begin to assign id&#39;s from 1.</p>
<p>So if you know that your id have 0 then you should perform additional</p>
<p>checking.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 16 Dec 2008 02:25:22 +0200</pubDate>
        </item>
        <item>
        	<title>trevorsharrison on Second row doesn't release selection status</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3553</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3553</guid>
        	        	<description><![CDATA[<p>My bad.&#160; Typo&#39;ed jqgrid when creating the directory.&#160; The links should work now.</p>
<p>However, I think I&#39;ve found the issue.</p>
<p>When my data has a row with id &#39;0&#39;, it gets changed to 1 when the html is created, so indeed, there are 2 rows with a html id of &#39;1&#39;.</p>
<p>I&#39;m guessing this happens because you try to auto-assign ids if a row doesn&#39;t have one, and doing an "if ( rowdata[id] )" is failing because its a zero?</p>
<p>-Trevor</p></p>
]]></description>
        	        	<pubDate>Mon, 15 Dec 2008 12:16:15 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Second row doesn't release selection status</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3533</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3533</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The links that you provide here are not valid.</p>
<p>Also I apologize for this, but you should check the id&#39;s of the</p>
<p>returned rows. Some row ids may have same value or something</p>
<p>not correct. Also provide me a link to the proble, to tell you what is wrong</p>
<p>here</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 14 Dec 2008 08:16:28 +0200</pubDate>
        </item>
        <item>
        	<title>trevorsharrison on Second row doesn't release selection status</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3506</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3506</guid>
        	        	<description><![CDATA[<p>My brain hasn&#39;t been working full speed recently, so I apologize for not including this piece of info earlier:</p>
</p>
<p>I can also reproduce this under IE7.&#160; (was using FF3)</p>
]]></description>
        	        	<pubDate>Fri, 12 Dec 2008 09:59:40 +0200</pubDate>
        </item>
        <item>
        	<title>trevorsharrison on Second row doesn't release selection status</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3505</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3505</guid>
        	        	<description><![CDATA[<blockquote>
<p>tony said:</p>
<p>Hello Trevor,</p>
<p>Please check the id of the grid. Something is not good with the ids -</p>
<p>I mean some symbols or at least you have duplicated id&#39;s of the grid.</p>
<p>Remember - the id&#39;s should be uniquie.</p>
<p>Best Regards</p>
<p>Tony</p>
</blockquote>
<hr />
<p>Id of the grid or id for that row data?</p>
</p>
<p>I&#39;ve simplified my html down to:</p>
<pre id="line1" style="padding-left: 30px;"><span class="doctype">&#60;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/DTD/strict.dtd"&#62;</span><br /><br />&#60;<span class="start-tag">html</span>&#62;<br /><br />&#60;<span class="start-tag">head</span>&#62;<br /><br />	&#60;<span class="start-tag">meta</span><span class="attribute-name"> http-equiv</span>=<span class="attribute-value">"content-type" </span><span class="attribute-name">content</span>=<span class="attribute-value">"text/html;charset=iso-8859-1"</span>&#62;<br /><br />	&#60;<span class="start-tag">link</span><span class="attribute-name"> rel</span>=<span class="attribute-value">"stylesheet" </span><span class="attribute-name">type</span>=<span class="attribute-value">"text/css" </span><span class="attribute-name">media</span>=<span class="attribute-value">"screen" </span><span class="attribute-name">href</span>=<span class="attribute-value">"jqGrid/themes/basic/grid.css" </span><span class="error"><span class="attribute-name">/</span></span>&#62;<br /><br />	&#60;<span class="start-tag">link</span><span class="attribute-name"> rel</span>=<span class="attribute-value">"stylesheet" </span><span class="attribute-name">type</span>=<span class="attribute-value">"text/css" </span><span class="attribute-name">media</span>=<span class="attribute-value">"screen" </span><span class="attribute-name">href</span>=<span class="attribute-value">"jqGrid/themes/jqModal.css" </span><span class="error"><span class="attribute-name">/</span></span>&#62; <br /><br />	&#60;<span class="start-tag">script</span><span class="attribute-name"> type</span>=<span class="attribute-value">"text/javascript" </span><span class="attribute-name">src</span>=<span class="attribute-value">"scripts/jquery-1.2.6.js"</span>&#62;&#60;/<span class="end-tag">script</span>&#62;<br /><br />	&#60;<span class="start-tag">script</span><span class="attribute-name"> src</span>=<span class="attribute-value">"jqGrid/jquery.jqGrid.js" </span><span class="attribute-name">type</span>=<span class="attribute-value">"text/javascript"</span>&#62;&#60;/<span class="end-tag">script</span>&#62;<br /><br /></pre>
<pre id="line10" style="padding-left: 30px;">	&#60;<span class="start-tag">script</span><span class="attribute-name"> src</span>=<span class="attribute-value">"jqGrid/js/jqModal.js" </span><span class="attribute-name">type</span>=<span class="attribute-value">"text/javascript"</span>&#62;&#60;/<span class="end-tag">script</span>&#62;<br /><br />	&#60;<span class="start-tag">script</span><span class="attribute-name"> src</span>=<span class="attribute-value">"jqGrid/js/jqDnR.js" </span><span class="attribute-name">type</span>=<span class="attribute-value">"text/javascript"</span>&#62;&#60;/<span class="end-tag">script</span>&#62;<br /><br />	<br />&#60;/<span class="end-tag">head</span>&#62;<br /><br />&#60;<span class="start-tag">body</span>&#62;<br /><br />&#60;<span class="start-tag">div</span><span class="attribute-name"> style</span>=<span class="attribute-value">"position: absolute; left: 0px; top: 30px; right: 0px; bottom: 10px; overflow: auto;"</span>&#62;<br /><br />	&#60;<span class="start-tag">table</span><span class="attribute-name"> id</span>=<span class="attribute-value">"list" </span><span class="attribute-name">class</span>=<span class="attribute-value">"scroll" </span><span class="attribute-name">style</span>=<span class="attribute-value">"width: 100%;"</span>&#62;&#60;/<span class="end-tag">table</span>&#62;<br /><br />&#60;/<span class="end-tag">div</span>&#62;<br /><br /><br />&#60;<span class="start-tag">script</span><span class="attribute-name"> type</span>=<span class="attribute-value">"text/javascript"</span>&#62;<br /><br /><br />function setupGrid( columninfo /* array of { title, name, width } */)<br /><br />{<br /><br />	var colNames = [ ];<br /><br />	var colModel = [ ];<br /><br />	for(var i = 0; i &#60; columninfo.length; i++)<br /><br />	{<br /><br />		colNames.push( columninfo[i].title );<br /><br />		var cm = { name: columninfo[i].name, index: columninfo[i].name, width: columninfo[i].width * 12, sortable: columninfo[i].sortable };<br /><br />		if ( cm.name == "__icon" ) cm.resizable = false;<br /><br />		colModel.push( cm );<br /><br />	}<br /><br />	jQuery("#list").jqGrid(<br /><br />		{<br /><br />			url:"GetGroupMembers.do",<br /><br />			datatype: &#39;json&#39;,<br /><br />			mtype: &#39;GET&#39;, <br /><br />			colNames: colNames,<br /><br />			colModel: colModel,<br /><br />			pager: jQuery(&#39;#pager&#39;),<br /><br />			rowNum:50,<br /><br />			hidegrid: false,<br /><br />			height: "auto",<br /><br />			shrinkToFit: false,<br /><br />			rowList:[10,20,30,50,100,200],<br /><br />			sortname: colModel[1].index,<br /><br />			sortorder: "desc",<br /><br />			viewrecords: true,<br /><br />			imgpath: &#39;jqGrid/themes/basic/images&#39;,<br /><br />			viewrecords: true,<br /><br />			multiselect: false,<br /><br />		}<br /><br />	);<br /><br />}<br /><br />jQuery(document).ready(<br /><br />	function()<br /><br />	{<br /><br />		$.getJSON("GetGroupColumnInfo.do", function(data)<br /><br />		{<br /><br />			setupGrid(data.columninfo);<br /><br />		} );<br /><br />	}<br /><br />);<br /><br />&#60;/<span class="end-tag">script</span>&#62;<br /><br /></pre>
<pre id="line68" style="padding-left: 30px;">&#60;/<span class="end-tag">body</span>&#62;<br /><br />&#60;/<span class="end-tag">html</span>&#62;<br /><br /><br /><br /></pre>
<p>My column definition data can be viewed at <a href="http://www.eci-usa.net/jqgrid/coldata.txt" rel="nofollow" target="_blank">http://www.eci-usa.net/jqgrid/coldata.txt</a> and the rowdata is at <a href="http://www.eci-usa.net/jqgrid/jsondata.txt" rel="nofollow" target="_blank">http://www.eci-usa.net/jqgrid/jsondata.txt</a></p>
<p>The id of each row is being generated by a auto-inc number on the serverside (for testing), so its just 0&#8230;rowcount.</p>
<p>My column definitions do have spaces in the column name, dunno if thats relavant.</p>
<p>-Trevor</p></p>
]]></description>
        	        	<pubDate>Fri, 12 Dec 2008 09:53:30 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Second row doesn't release selection status</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3484</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3484</guid>
        	        	<description><![CDATA[<p>Hello Trevor,</p>
<p>Please check the id of the grid. Something is not good with the ids -</p>
<p>I mean some symbols or at least you have duplicated id&#39;s of the grid.</p>
<p>Remember - the id&#39;s should be uniquie.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 12 Dec 2008 04:40:47 +0200</pubDate>
        </item>
        <item>
        	<title>trevorsharrison on Second row doesn't release selection status</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3478</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3478</guid>
        	        	<description><![CDATA[<p>oh, didn&#39;t mention that I&#39;m using jquery 1.2.6, and latest of jqGrid (as of last week).</p>
<p>-Trevor</p></p>
]]></description>
        	        	<pubDate>Thu, 11 Dec 2008 15:59:04 +0200</pubDate>
        </item>
        <item>
        	<title>trevorsharrison on Second row doesn't release selection status</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3477</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/second-row-doesnt-release-selection-status#p3477</guid>
        	        	<description><![CDATA[<p>When clicking around in a grid (with multiselect set to false), the second row always retains the selected status.&#160; (looking in firebug shows that tr&#39;s class as "jqgrow selected")</p>
</p>
<p>Its not specific to the data in that row, because if I resort with a different column and get a different values in row 2, it also behaves the same.</p>
</p>
<p>I&#39;ve done a quick screen grab to show what I&#39;m talking about:</p>
<p><a href="http://www.eci-usa.net/jggrid/demo.html" rel="nofollow" target="_blank">http://www.eci-usa.net/jggrid/demo.html</a></p>
<p>My jgGrid call is:</p>
<p>&#160;&#160;&#160; jQuery("#list").jqGrid(<br />&#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; url:"GetGroupMembers.do",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; datatype: &#39;json&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; mtype: &#39;GET&#39;, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colNames: colNames,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colModel: colModel,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; pager: jQuery(&#39;#pager&#39;),<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; rowNum:50,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; hidegrid: false,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; height: "auto",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; shrinkToFit: false,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; rowList:[10,20,30,50,100,200],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sortname: colModel[1].index,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sortorder: "desc",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; imgpath: &#39;jqGrid/themes/basic/images&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; multiselect: false,<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; );</p>
<p>(I&#39;m building the column list and column model info dynamically, I can include that code if anyone wants it)</p>
<p>-Trevor</p>
]]></description>
        	        	<pubDate>Thu, 11 Dec 2008 15:54:46 +0200</pubDate>
        </item>
</channel>
</rss>