<?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: Multiselect: checkbox not checked when row clicked</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-checkbox-not-checked-when-row-clicked</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/multiselect-checkbox-not-checked-when-row-clicked/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>donb on Multiselect: checkbox not checked when row clicked</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-checkbox-not-checked-when-row-clicked#p2488</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiselect-checkbox-not-checked-when-row-clicked#p2488</guid>
        	        	<description><![CDATA[<p>To all, until Tony makes another release, I offer the following workaround/fix:</p>
<p>in grid.base.js at line 740 (release version 3.3)</p>
</p>
<p>add: row.id = cur[idn];</p>
<p>See below for the relevant section of code I modified:</p>
</p>
<p>&#160;&#160;&#160;if (drows) {<br />&#160;&#160;&#160;for (var i=0;i&#60;drows.length;i++) {<br />&#160;&#160;&#160;&#160;cur = drows[i];<br />&#160;&#160;&#160;&#160;row = document.createElement("tr");<strong>row.id = cur[idn];</strong><br />&#160;&#160;&#160;&#160;if(ts.p.multiselect){<br />&#160;&#160;&#160;&#160;&#160;addMulti(t,row);<br />&#160;&#160;&#160;&#160;&#160;gi = 1;<br />&#160;&#160;&#160;&#160;}<br />&#160;&#160;&#160;&#160;if (ts.p.subGrid) {<br />&#160;&#160;&#160;&#160;&#160;try { $(ts).addSubGrid(t,row,gi);} catch (e){}<br />&#160;&#160;&#160;&#160;&#160;si= 1;<br />&#160;&#160;&#160;&#160;}</p>
</p>
<p>My change is in <strong>BOLD</strong></p>
]]></description>
        	        	<pubDate>Sat, 11 Oct 2008 16:35:37 +0300</pubDate>
        </item>
        <item>
        	<title>donb on Multiselect: checkbox not checked when row clicked</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-checkbox-not-checked-when-row-clicked#p2487</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiselect-checkbox-not-checked-when-row-clicked#p2487</guid>
        	        	<description><![CDATA[<p>Excellent work Tony.&#160;&#160; I look forward to getting the next version.</p>
<p>thank you,</p>
<p>Don</p>
]]></description>
        	        	<pubDate>Sat, 11 Oct 2008 14:54:19 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Multiselect: checkbox not checked when row clicked</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-checkbox-not-checked-when-row-clicked#p2485</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiselect-checkbox-not-checked-when-row-clicked#p2485</guid>
        	        	<description><![CDATA[<p>Here is it</p>
<p>The problem is - there is no id for the checkbox.</p>
<p>This happen only when using json data - i.e. the id is obtained after constructing the check box - must be before - It is fixed.</p>
<p>Alse the second bug , which actuall was first for me is fixed too.</p>
<p>Thank you</p>
<p>Reagrds</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 11 Oct 2008 11:57:12 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Multiselect: checkbox not checked when row clicked</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-checkbox-not-checked-when-row-clicked#p2484</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiselect-checkbox-not-checked-when-row-clicked#p2484</guid>
        	        	<description><![CDATA[<p>But at all this is not the problem 🙂</p>
<p>The problem is that there is no id for the checkbox. I will look why?</p>
<p>P.S. This help me to find any other issue with this (My first post)</p>
]]></description>
        	        	<pubDate>Sat, 11 Oct 2008 11:51:03 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Multiselect: checkbox not checked when row clicked</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-checkbox-not-checked-when-row-clicked#p2483</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiselect-checkbox-not-checked-when-row-clicked#p2483</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>sorry multikey is true and not false</p>
]]></description>
        	        	<pubDate>Sat, 11 Oct 2008 11:40:28 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Multiselect: checkbox not checked when row clicked</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-checkbox-not-checked-when-row-clicked#p2482</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiselect-checkbox-not-checked-when-row-clicked#p2482</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>In the example is set in the options multikey: false and this work -</p>
<p>i.e - in the code there should be some additional checking for this options</p>
<p>Thank you</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 11 Oct 2008 11:37:25 +0300</pubDate>
        </item>
        <item>
        	<title>donb on Multiselect: checkbox not checked when row clicked</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-checkbox-not-checked-when-row-clicked#p2481</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiselect-checkbox-not-checked-when-row-clicked#p2481</guid>
        	        	<description><![CDATA[<p>Can you explain?&#160; The example at</p>
<p>&#160;<a href="http://trirand.com/jqgrid/jqgrid.html" target="_blank">http://trirand.com/jqgrid/jqgrid.html</a>&#160;</p>
<p>works fine.</p>
]]></description>
        	        	<pubDate>Sat, 11 Oct 2008 11:09:47 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Multiselect: checkbox not checked when row clicked</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-checkbox-not-checked-when-row-clicked#p2480</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiselect-checkbox-not-checked-when-row-clicked#p2480</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>It is definitley a bug. It will be corrected.</p>
<p>Thank you</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 11 Oct 2008 11:01:45 +0300</pubDate>
        </item>
        <item>
        	<title>donb on Multiselect: checkbox not checked when row clicked</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-checkbox-not-checked-when-row-clicked#p2479</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiselect-checkbox-not-checked-when-row-clicked#p2479</guid>
        	        	<description><![CDATA[<p>I have to be doing something stupid.&#160; No one else seems to have this problem.&#160; jQuery 1.2.6 and jgGrid 3.3</p>
<p>see example: <a href="http://qindy.com/map/popup-list.php?id=103&#38;table=rtb_list" target="_blank"><a href="http://qindy.com/map/popup-lis" rel="nofollow">http://qindy.com/map/popup-lis</a>.....e=rtb_list</a></p>
<p>Clicking the row doesn&#39;t check/uncheck the checkbox.&#160; I determined that the checkbox id&#39;s are all &#39;jgq_&#39; (no id appended to them).&#160;</p>
<p>From the code it appears this id is created from the &#60;tr&#62; id, which I see set to the appropriate values for each row (using Firebug in Firefox to examine this).&#160; They are the &#39;id&#39; values I extract from my database and which are in the &#39;id&#39; element of my JSON &#39;rows&#39; element.</p>
<p>I&#39;ve stepped through the grid.base.js and the id simply seems to be undefined when the checkbox id is created.&#160; If I edit the id into them with Firebug, the checkbox works correctly.</p>
<p>And, here&#39;s one grid-row of data from my JSON response:</p>
<p>&#160;&#160;&#160; "page": "1",<br />&#160;&#160;&#160; "total": 1,<br />&#160;&#160;&#160; "records": "322",<br />&#160;&#160;&#160; "rows": [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "id": "376",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "cell": [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "2414-16 N Kitley Av&#60;\\/span&#62;",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "VIEW&#60;\\/a&#62;",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "2 Unit",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "2br 1ba",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "No",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "$2,500.00",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "$749.00",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "$74,934.00",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "Map&#60;\\/a&#62;" <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ] <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; },</p>
<p>Been looking at this for hours and just don&#39;t see why this happens.</p>
</p>
<p>Don</p>
]]></description>
        	        	<pubDate>Sat, 11 Oct 2008 10:18:39 +0300</pubDate>
        </item>
</channel>
</rss>