<?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: Disabling checkbox in "multiselect:true" mode for a specific row in jqgrid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid</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/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>rl9022 on Disabling checkbox in "multiselect:true" mode for a specific row in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11353</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11353</guid>
        	        	<description><![CDATA[<p>I believe you&#39;ve covered all the bases.</p>
]]></description>
        	        	<pubDate>Sat, 31 Oct 2009 10:04:11 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Disabling checkbox in "multiselect:true" mode for a specific row in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11352</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11352</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>In order to be a clear what should be done.</p>
<p>When we disable a a row:</p>
<p>1.if the row is selected - deselect it</p>
<p>2. mark a row as not selectable</p>
<p>3. if we are in multi select mode - make the check box disabled.</p>
<p>4. If we click on the common check box - do not allow this row to be selected</p>
<p>5. set&#160; logic when we are in cellEdit not to allow editing.</p>
<p>6. set logic when we are inline edit not to edit that row</p>
<p>7. set logic in form edit not to load data an this row.</p>
<p>I think that this cover all the cases.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 31 Oct 2009 08:50:29 +0200</pubDate>
        </item>
        <item>
        	<title>rl9022 on Disabling checkbox in "multiselect:true" mode for a specific row in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11351</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11351</guid>
        	        	<description><![CDATA[<p>I think people would find that useful.</p>
]]></description>
        	        	<pubDate>Sat, 31 Oct 2009 08:39:11 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Disabling checkbox in "multiselect:true" mode for a specific row in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11350</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11350</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>What I mean we should provide a mechanizm not to select a row instead if multiselect is set to true or false.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 31 Oct 2009 08:35:37 +0200</pubDate>
        </item>
        <item>
        	<title>rl9022 on Disabling checkbox in "multiselect:true" mode for a specific row in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11349</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11349</guid>
        	        	<description><![CDATA[<p>Tony:</p>
</p>
<p>I&#39;m not entirely clear on how jqGrid works, but should this be a css issue or an html issue?&#160; To me it should be html where there is no chance of checking the box, like:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit4701' value='Select Code' data-codeid='sfcode4701' /></p>
<div class='sfcode' id='sfcode4701'>
<p><span style="font-family: VERDANA,ARIAL,HELVETICA; color: #000000; font-size: x-small;"><span style="font-family: Arial,Helvetica; font-size: xx-small;">&#60;INPUT TYPE="CHECKBOX" NAME="box1" VALUE="ok" DISABLED&#62;</span></span></p>
</div>
]]></description>
        	        	<pubDate>Sat, 31 Oct 2009 08:14:54 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Disabling checkbox in "multiselect:true" mode for a specific row in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11340</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11340</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Will see what I can do.</p>
<p>The problem that I see is: if the row is selected and we disable the selection on that row (by example attaching a certain class) what we should do? I do not want to write additional method for this just to analyze if it has certain class&#160; &#8211; i.e&#160;</p>
<p>(&#8221;#myrow&#8221;,&#8221;#mygrid).addClass(&#8221;not-selected-row&#8221;)</p>
<p>I have answered to mayself (maybe) : before doing this we should check if the row is selected</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 31 Oct 2009 03:18:26 +0200</pubDate>
        </item>
        <item>
        	<title>rl9022 on Disabling checkbox in "multiselect:true" mode for a specific row in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11339</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11339</guid>
        	        	<description><![CDATA[<p>varun:</p>
</p>
<p>I tried adjusting jquery.jqGrid.min.js but now when I try to load jqgrid.html it doesn&#39;t load.</p>
]]></description>
        	        	<pubDate>Sat, 31 Oct 2009 00:10:49 +0200</pubDate>
        </item>
        <item>
        	<title>markw65 on Disabling checkbox in "multiselect:true" mode for a specific row in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11336</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11336</guid>
        	        	<description><![CDATA[<p>Yes, you&#39;re right - it would be good if the grid supported it directly.</p>
</p>
<p>But a lot of people want to use the prebuilt compressed grid code - so a solution that doesnt involve changing grid code is also useful.</p>
</p>
<p>Mark</p>
]]></description>
        	        	<pubDate>Fri, 30 Oct 2009 20:24:02 +0200</pubDate>
        </item>
        <item>
        	<title>varun on Disabling checkbox in "multiselect:true" mode for a specific row in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11248</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11248</guid>
        	        	<description><![CDATA[<p>This is the correct behavior that the grid should take action. If the checkbox is disabled it should not select the rows, if it is doing it then that is not the proper behavior. Moreover wherever you have implemented that code to disable the checkbox each time you have to call "beforeSelectRow" handler.</p>
<p>Varun</p>
]]></description>
        	        	<pubDate>Thu, 29 Oct 2009 13:50:34 +0200</pubDate>
        </item>
        <item>
        	<title>markw65 on Disabling checkbox in "multiselect:true" mode for a specific row in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11246</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11246</guid>
        	        	<description><![CDATA[<p>Rather than modifying grid code, you could use a beforeSelectRow handler...</p>
</p>
<p>Mark</p>
]]></description>
        	        	<pubDate>Thu, 29 Oct 2009 12:53:39 +0200</pubDate>
        </item>
        <item>
        	<title>varun on Disabling checkbox in "multiselect:true" mode for a specific row in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11244</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11244</guid>
        	        	<description><![CDATA[<p>I had to add this line in the setSelection method.</p>
<p>..........................................................................................</p>
<p>if( $("#jqg_"+pt[ 0 ].id).attr("disabled") ){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; return;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }</p>
<p>.....................................................................................................</p>
<p>after these lines</p>
<p>$t.p.selrow = selection;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; ia = $.inArray($t.p.selrow,$t.p.selarrrow);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if (&#160; ia === -1 ){&#160;&#160;&#160;</p>
<p>&#160;&#160;&#160;&#160;&#160; ///////////////// Modified code here ???????????????????????????????</p>
<p>-----</p>
<p>----</p>
]]></description>
        	        	<pubDate>Thu, 29 Oct 2009 11:37:43 +0200</pubDate>
        </item>
        <item>
        	<title>rl9022 on Disabling checkbox in "multiselect:true" mode for a specific row in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11207</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p11207</guid>
        	        	<description><![CDATA[<p>is there any update to this???</p>
]]></description>
        	        	<pubDate>Wed, 28 Oct 2009 19:49:30 +0200</pubDate>
        </item>
        <item>
        	<title>varun on Disabling checkbox in "multiselect:true" mode for a specific row in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p9200</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p9200</guid>
        	        	<description><![CDATA[<p>After doing some research i tried something like this.</p>
<p>$("[id^=jqg_]<span style="color: #ff0000;"><strong>[disabled=&#39;&#39;]</strong></span>",ts.rows).attr("checked",true);</p>
<p>and on the grid i was setting the disabled property as</p>
<p>$(&#8221;#jqg_Q391&#8243;).attr(&#8221;disabled&#8221;, "true");</p>
<p>so that it doesn&#39;t check the boxes which i have disabled.</p>
<p>But when i click anywhere on the disabled row or i click on the top checkbox it highlights the rows and still sends me the rowId of the rows where checkbox is disabled.</p>
<p>Varun</p>
]]></description>
        	        	<pubDate>Tue, 01 Sep 2009 19:53:04 +0300</pubDate>
        </item>
        <item>
        	<title>varun on Disabling checkbox in "multiselect:true" mode for a specific row in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p9197</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p9197</guid>
        	        	<description><![CDATA[<p>Hi Tony</p>
<p>I am disabling the checkbox using</p>
<p>$("#jqg_Q391").attr("disabled", true);</p>
<p>But the problem is when i select the checkbox at the top it still checks the box in the disable state.</p>
<p>Is there any work around for it or i am missing somthing?</p>
<p>Thanks</p>
<p>Varun</p>
]]></description>
        	        	<pubDate>Tue, 01 Sep 2009 18:48:50 +0300</pubDate>
        </item>
        <item>
        	<title>arkachattopadhyay on Disabling checkbox in "multiselect:true" mode for a specific row in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p9165</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p9165</guid>
        	        	<description><![CDATA[<p>Many many thanks to you.It is working perfectly.Thank you once again.</p>
]]></description>
        	        	<pubDate>Tue, 01 Sep 2009 02:29:51 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Disabling checkbox in "multiselect:true" mode for a specific row in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p9134</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p9134</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Every checkbox has uniquie id which is combination of</p>
<p>"jqg_"+rowid - where the rowid is the id of the row.</p>
<p>Use the appropriate command to disable it.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 31 Aug 2009 10:13:11 +0300</pubDate>
        </item>
        <item>
        	<title>arkachattopadhyay on Disabling checkbox in "multiselect:true" mode for a specific row in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p9110</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disabling-checkbox-in-multiselecttrue-mode-for-a-specific-row-in-jqgrid#p9110</guid>
        	        	<description><![CDATA[<p>I am showing some data in jqgrid and I am using the option "multiselect:true".In the grid, for a specific row, I want the checkbox not to be show or if it is shown then it should be disabled.Can I do this??I am using jqgrid3.5.2.</p>
</p>
<p>Thanks in advance.</p>
]]></description>
        	        	<pubDate>Mon, 31 Aug 2009 06:20:07 +0300</pubDate>
        </item>
</channel>
</rss>