<?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 technique.</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/cell-editing-technique</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-technique/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>RobGMiller on cell editing technique.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cell-editing-technique#p4112</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cell-editing-technique#p4112</guid>
        	        	<description><![CDATA[<p>Thanks for the reply Tony,&#160;</p>
<p>Its exactly what I needed.&#160;</p>
<p>Rob..</p></p>
]]></description>
        	        	<pubDate>Thu, 22 Jan 2009 12:30:28 +0200</pubDate>
        </item>
        <item>
        	<title>tony on cell editing technique.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cell-editing-technique#p4108</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cell-editing-technique#p4108</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>saveCell saves the current edited cell. If you try to save some cell dynamically you can use getCell method - something like</p>
<p>$("#mybutton").click(function(){</p>
<p>var rowid = $("mygrid").getGridParam(&#39;selrow&#39;); //get the id of the current selected row. Can be a other thing.</p>
<p>var myceldata = $("mygrid").getCell(rowid,myiCol);</p>
<p>$.ajax({...}); //post your data here</p>
<p>});</p>
]]></description>
        	        	<pubDate>Thu, 22 Jan 2009 10:58:24 +0200</pubDate>
        </item>
        <item>
        	<title>RobGMiller on cell editing technique.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cell-editing-technique#p4105</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cell-editing-technique#p4105</guid>
        	        	<description><![CDATA[<p>I am trying to edit any cell in one of two ways. 1 - click on it to enter into cell edit mode where an input box allows me to enter data or 2 - click in it and a value is automatically entered. In either case, the action had changed other cells and these have to be saved as well.&#160;</p>
<p>If I setup the grid to allow cell editing with the&#160;cellEdit: true option the first method works and saves the cell value to remote as expected when an editable cell is modified. Although, only id:(iRow) is sent.</p>
<p>There seems to be no way to enguage the after cell edit save process when the cell is modified programmatically.</p>
<p>To edit a cell programmatically, code is enguage as a response to onSelectCell which does fire on a non editable cell when cellEdit is set to true. However, it appears that saveCell(iRow, iCol) used after the appropriate cell(s) are modified will not post.</p>
<p>As a test, saveCell was called from a button with a row and column id specified. It does not post to the server weather the cell is editable or not. &#160;</p>
<p>either jQuery(#gridid).saveCell(17,6); or&#160;jQuery(#gridid).saveCell(&#8221;17&#8243;,&#8221;6&#8243;); does not work.&#160;</p>
<p>saveCell is defined in the documentaion as &#8220;saves the cell with the row index iRow( do not mix with rowid) in index column iCol&#8221; &#160;</p>
<p>related grid options as follows:</p>
</p>
<p>cellEdit: true,</p>
<p>cellsubmit: &#39;remote&#39;,</p>
<p>cellurl: &#8220;updatecell.aspx&#8221;,</p>
</p>
<p>Should saveCell(rowid, iCol) save the content of any cell by sending a post to the server at any time?</p>
<p>If so&#160;what are the conditions that will allow saveCell to function as intended.&#160;</p>
<p>What should be included in the POST?</p></p>
]]></description>
        	        	<pubDate>Thu, 22 Jan 2009 10:36:55 +0200</pubDate>
        </item>
</channel>
</rss>