<?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 Editing</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/cell-editing</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-editing/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>redsuitee on Cell Editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cell-editing#p6401</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cell-editing#p6401</guid>
        	        	<description><![CDATA[<p>for the 1st question, maybe you can add this one in your code..</p>
<p>var lastsel2 ;<br />
.<br />
.<br />
.<br />
.<br />
onSelectRow	: function(idd){<br />
		if(idd &#38;&#38; idd!==lastsel2){<br />
			recid			= idd;<br />
			jQuery('#xx').editRow(idd,true);<br />
			jQuery('#xx').saveRow(lastsel2);  //it will save your changes<br />
			lastsel2		= idd;<br />
		}<br />
	},</p>
]]></description>
        	        	<pubDate>Wed, 29 Apr 2009 21:13:06 +0300</pubDate>
        </item>
        <item>
        	<title>coolkay on Cell Editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cell-editing#p6355</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cell-editing#p6355</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>We have a situation where one of the columns in the grid is a checkbox. We want to allow the user to toggle this checkbox.</p>
<p>What&#39;s the best approach to doing this?</p>
<p>here is what we have done so far</p>
<p><span style="font-size: x-small;">cellEdit: true</span></p>
<p><span style="font-size: x-small;"><span style="font-size: x-small;">cellsubmit: </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;clientArray&#39;</span></span></span></p>
<p><span style="font-size: x-small;"><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small;"><font size="2"></p>
<p></font></span></span></span></span></p>
<p><span style="font-size: x-small;">colModel:[</span>{name:<span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;IsPrimary&#39;</span></span><span style="font-size: x-small;">,width:60,formatter:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;checkbox&#39;</span></span><span style="font-size: x-small;">,editable:</span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">true</span></span><span style="font-size: x-small;">,edittype:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;checkbox&#39;}</span></span></p>
<p><span style="font-size: x-small;"><span style="font-size: x-small;">afterSaveCell: </span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">function</span></span><span style="font-size: x-small;">(rowid, cellname, value, iRow, iCol) {do something}</span></span></p>
<p>Problem</p>
<p>1)&#160;when we move focus to another row the changes are lost as suppose to keeping focus on the same row.</p>
<p>2) We still want the entire row highlighted but ONLY individual cells get highlighted on selection.</p>
<p>Thank you</p></p>
]]></description>
        	        	<pubDate>Tue, 28 Apr 2009 08:38:53 +0300</pubDate>
        </item>
</channel>
</rss>