<?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: multiple checkboxes per row</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/multiple-checkboxes-per-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/multiple-checkboxes-per-row/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>kamp1234 on multiple checkboxes per row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiple-checkboxes-per-row#p23837</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiple-checkboxes-per-row#p23837</guid>
        	        	<description><![CDATA[<blockquote>
<p>bkeszler said:</p>
<p>Tony, I was just coming back to post my success story and I found your reply.&#160; Thanks for the response!&#160; I&#39;m going to try your ideas to try and learn more about jQuery and jqGrid.</p>
</p>
<p>I finally got it working by using the setCell function to change the value in the cell.&#160; My custom formatter creates an onclick event for the checkbox, which passes the rowid, column name, and current cell value to a function that handles the information however I need.</p>
</p>
<p>Works great!&#160; If anyone would like to see the code, just let me know and I&#39;ll post it (after cleaning it up a bit).</p>
</blockquote>
<hr />
<p>Hello <strong>bkeszler,</strong></p>
<p>i have same type of requiement . could you please me the code</p>
]]></description>
        	        	<pubDate>Sat, 02 Jul 2011 19:42:19 +0300</pubDate>
        </item>
        <item>
        	<title>bkeszler on multiple checkboxes per row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiple-checkboxes-per-row#p17254</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiple-checkboxes-per-row#p17254</guid>
        	        	<description><![CDATA[<p>Tony, I was just coming back to post my success story and I found your reply.&#160; Thanks for the response!&#160; I&#39;m going to try your ideas to try and learn more about jQuery and jqGrid.</p>
</p>
<p>I finally got it working by using the setCell function to change the value in the cell.&#160; My custom formatter creates an onclick event for the checkbox, which passes the rowid, column name, and current cell value to a function that handles the information however I need.</p>
</p>
<p>Works great!&#160; If anyone would like to see the code, just let me know and I&#39;ll post it (after cleaning it up a bit).</p>
]]></description>
        	        	<pubDate>Mon, 17 May 2010 23:15:47 +0300</pubDate>
        </item>
        <item>
        	<title>tony on multiple checkboxes per row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiple-checkboxes-per-row#p17236</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiple-checkboxes-per-row#p17236</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The problem is not related to jqGrid, but in a way how the "value" of checkbox is obtained.</p>
</p>
<p>$("#mycheckbox").val()&#160; ===&#62; alway true or somthing else</p>
<p>$("#mycheckbox").attr("checked") =&#62; Now this is your code to check whnever the value is checked or not. &#8211; it can be true or false depending on checking</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 17 May 2010 21:35:21 +0300</pubDate>
        </item>
        <item>
        	<title>bkeszler on multiple checkboxes per row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiple-checkboxes-per-row#p17161</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiple-checkboxes-per-row#p17161</guid>
        	        	<description><![CDATA[<p>I&#39;ve done alot of searching around and I&#39;m just not understanding how to set this up.&#160; I must not be entering the right questions into Google.</p>
</p>
<p>What I want is a jqGrid with multiple checkboxes per row.&#160; For discussion purposes, let&#39;s say it&#39;s a security admin tool with 9 columns.&#160; Column 1 is the username and columns 2 through 9 are different security roles.&#160; The colNames are &#39;Username&#39;, &#39;R1&#39;, &#39;R2&#39;, ... &#39;R8&#39;.&#160; Columns 2 through 9 simply have a checkbox indicating if that user has access to that role.&#160; Clicking the checkbox will send an AJAX request to the server.</p>
</p>
<p>I&#39;ve created the grid 2 different ways, but can&#39;t get either one working.&#160; My most recent attempt has a custom formatter that sets up each of the checkboxes with an onclick event.</p>
</p>
<p>I can&#39;t seem to get the value of the checkbox, only the value that was originally loaded into the cell.&#160; So if a checkbox was loaded as "true" and a check mark is shown, I always get the cell value of "true" even if the checkbox was just unchecked.</p>
</p>
<p>I also can&#39;t seem to determine which checkbox was clicked.&#160; I can determine the row (and the unique username) but I can&#39;t determine which column the clicked checkbox is in.</p>
</p>
<p>Any help is appreciated.&#160; I&#39;m going to keep poking around on these forums and on the web.</p>
]]></description>
        	        	<pubDate>Fri, 14 May 2010 01:39:57 +0300</pubDate>
        </item>
</channel>
</rss>