<?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: Turn off select checkbox when clicking on row?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/turn-off-select-checkbox-when-clicking-on-row</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/turn-off-select-checkbox-when-clicking-on-row/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>nawglan on Turn off select checkbox when clicking on row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/turn-off-select-checkbox-when-clicking-on-row#p26972</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/turn-off-select-checkbox-when-clicking-on-row#p26972</guid>
        	        	<description><![CDATA[<p>Using multiselect : true and multiboxonly: true doesn&#39;t do what he is asking for.</p>
</p>
<p>Instead, do this:</p>
<p>&#160;&#160;&#160; onSelectRow : function (rowid, status) {<br />&#160;&#160;&#160;&#160;&#160; var elem = document.activeElement;<br />&#160;&#160;&#160;&#160;&#160; if (elem.id) {&#160;&#160; // the checkbox has an id, so check for it<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (!status){<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; // unselect the select-all if any row is deselected<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(&#39;#cb_&#39; + yourgridid).attr(&#39;checked&#39;,false);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160; } else {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; // ensure that the row is not checked.<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(&#39;#&#39; + yourgridid).setSelection(rowid, false);<br />&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160; },</p>
]]></description>
        	        	<pubDate>Wed, 18 Jul 2012 21:51:42 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Turn off select checkbox when clicking on row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/turn-off-select-checkbox-when-clicking-on-row#p22932</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/turn-off-select-checkbox-when-clicking-on-row#p22932</guid>
        	        	<description><![CDATA[<p>You should just use additional parameter <strong>multiboxonly:true</strong> of the jqGrid. Look at <a href="http://stackoverflow.com/questions/3717969/jqgrid-multiselect-behavior-when-pressing-special-key/3719637#3719637" target="_blank">this old answer</a> having some demos.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Tue, 26 Apr 2011 14:07:01 +0300</pubDate>
        </item>
        <item>
        	<title>john5788 on Turn off select checkbox when clicking on row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/turn-off-select-checkbox-when-clicking-on-row#p22923</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/turn-off-select-checkbox-when-clicking-on-row#p22923</guid>
        	        	<description><![CDATA[<p>bump,</p>
</p>
<p>I am looking for the same feature. Has anyone found a way around the default behavior?</p>
]]></description>
        	        	<pubDate>Tue, 26 Apr 2011 01:13:29 +0300</pubDate>
        </item>
        <item>
        	<title>Raif on Turn off select checkbox when clicking on row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/turn-off-select-checkbox-when-clicking-on-row#p22201</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/turn-off-select-checkbox-when-clicking-on-row#p22201</guid>
        	        	<description><![CDATA[<p>Thanks Oleg,</p>
<p>But what I need is this.</p>
<p>I have a multiselect grid. &#160;when I click anywhere in the row it checks the checkbox. &#160;I only want the checkbox to check when you click directly on the checkbox. &#160;not on the row.</p>
<p>Thanks,</p>
<p>R</p>
]]></description>
        	        	<pubDate>Fri, 25 Feb 2011 00:21:19 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Turn off select checkbox when clicking on row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/turn-off-select-checkbox-when-clicking-on-row#p22197</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/turn-off-select-checkbox-when-clicking-on-row#p22197</guid>
        	        	<description><![CDATA[<p>Hi Raif,</p>
<p>I am not sure that I understand you correct, but if you want don&#39;t see the checkboxes you can hide the grid column with the chackboxes:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1381' value='Select Code' data-codeid='sfcode1381' /></p>
<div class='sfcode' id='sfcode1381'>$(&#34;#list&#34;).jqGrid(&#39;hideCol&#39;,&#39;cb&#39;);</div>
<p>Best regards</p>
<p>Oleg</p>
]]></description>
        	        	<pubDate>Thu, 24 Feb 2011 20:02:25 +0200</pubDate>
        </item>
        <item>
        	<title>Raif on Turn off select checkbox when clicking on row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/turn-off-select-checkbox-when-clicking-on-row#p22194</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/turn-off-select-checkbox-when-clicking-on-row#p22194</guid>
        	        	<description><![CDATA[<p>Um... bump?</p>
<p>Perhaps if I could just turn off select row feature that would stop it from checking the checkbox. &#160;Is that possible?</p>
<p>R</p>
]]></description>
        	        	<pubDate>Thu, 24 Feb 2011 17:18:29 +0200</pubDate>
        </item>
        <item>
        	<title>Raif on Turn off select checkbox when clicking on row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/turn-off-select-checkbox-when-clicking-on-row#p22163</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/turn-off-select-checkbox-when-clicking-on-row#p22163</guid>
        	        	<description><![CDATA[<p>Hi I have a multiselect grid which has various buttons and links on it. &#160;Whenever you click on a any of these links or buttons it both selects the row and checks the the checkbox. &#160;I don&#39;t care about the selecting of the row but I don&#39;t want the checkbox checked or undchecked because that is clearly not the desired result. &#160;I have set multiboxonly:true and false ( wording in the wiki is a bit unclear ) and it still checks the box. &#160;Any help would be appreciated.</p>
<p>Thanks,</p>
<p>Raif</p>
]]></description>
        	        	<pubDate>Mon, 21 Feb 2011 19:59:06 +0200</pubDate>
        </item>
</channel>
</rss>