<?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 validation problem</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/cell-validation-problem</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-validation-problem/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>KusTov on Cell validation problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cell-validation-problem#p8515</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cell-validation-problem#p8515</guid>
        	        	<description><![CDATA[<p>Correct I&#39;m using inline editing. And I want to validate cell data before saving. How can I do it?</p>
</p>
<p>Thanks.</p>
<p>Eli</p>
]]></description>
        	        	<pubDate>Thu, 13 Aug 2009 02:30:08 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Cell validation problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cell-validation-problem#p8510</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cell-validation-problem#p8510</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>What you use actually - cell editing or inline editing? Please, make the diffrence (beforeSaveCell is a event in cell editing, but you use code for inline editing - editRow.)</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 13 Aug 2009 02:19:43 +0300</pubDate>
        </item>
        <item>
        	<title>KusTov on Cell validation problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cell-validation-problem#p8463</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cell-validation-problem#p8463</guid>
        	        	<description><![CDATA[<p>Hello</p>
<p>I need to validate cell data before saving (in client side) for example compare with another field, check if it&#39;s a correct time etc. I found <strong>beforeSaveCell </strong>function, but I don&#39;t know where to put it.</p>
<p>For editing row I&#39;m using:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3438' value='Select Code' data-codeid='sfcode3438' /></p>
<div class='sfcode' id='sfcode3438'>onSelectRow: function(id ){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; if(id &#38;&#38; id!=lastsel2 ){ <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery(&#39;#rank&#39;).restoreRow(lastsel2); <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery(&#39;#rank&#39;).editRow(id,true,null, success_edit,null,null, after_save); <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; lastsel2=id;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; } &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160;&#160; },</div>
]]></description>
        	        	<pubDate>Wed, 12 Aug 2009 02:44:24 +0300</pubDate>
        </item>
</channel>
</rss>