<?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: cell edit with single row checkbox selection</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/cell-edit-with-single-row-checkbox-selection</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/cell-edit-with-single-row-checkbox-selection/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>SammyD on cell edit with single row checkbox selection</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cell-edit-with-single-row-checkbox-selection#p29674</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cell-edit-with-single-row-checkbox-selection#p29674</guid>
        	        	<description><![CDATA[<p>Ignore this. Customer changed requirements on it (in a good way).&#160; yaaay!</p>
]]></description>
        	        	<pubDate>Mon, 14 Oct 2013 23:45:34 +0300</pubDate>
        </item>
        <item>
        	<title>SammyD on cell edit with single row checkbox selection</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cell-edit-with-single-row-checkbox-selection#p29668</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cell-edit-with-single-row-checkbox-selection#p29668</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>Part of the my app requirements, are to have a checkbox, but, only allow single row selection (not multiple rows), along with cell edit.</p>
</p>
<p>I have the following properties set:</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; multiselect: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cellEdit: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cellsubmit: &#39;remote&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cellurl: &#39;/url/to/handling/the/changed/cell/value&#39;,</p>
<p>To only allow single row selection, I tie into the beforeSelectRow event, and call resetSelection like:</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; beforeSelectRow: function (rowid, e) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#list").jqGrid(&#39;resetSelection&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return (true);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },</p>
<p>The problem I&#39;m running into, is that when I click on a cell to edit, and then click to a different row (or click a checkbox of a different row), the previously edited cell does not restore itself.&#160; It leaves the textbox there.</p>
</p>
<p>Any ideas how I can restore that edited cell, to it&#39;s previous, unedited, state?</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Mon, 14 Oct 2013 16:38:31 +0300</pubDate>
        </item>
</channel>
</rss>